Test, validate and match regular expressions
Matches phone numbers with flexible US-style formatting. Supports an optional country code (1-3 digits with optional leading +), an optional area code (with or without parentheses), and separators that can be dots, hyphens, or whitespace between number groups. Commonly used for validating contact form inputs such as '555-123-4567', '(555) 123.4567', or '+1 555 123 4567'.