Test, validate and match regular expressions
This regex matches strings composed exclusively of digits, parentheses, hyphens, plus signs, and spaces. It is commonly used to validate phone number inputs, allowing various formatting styles like (123) 456-7890 or +1-234-567-8901, without restricting specific digit patterns.