Test, validate and match regular expressions
This regex matches phone numbers in various formats including optional country code, area codes with or without parentheses, and different separator styles (spaces, dots, hyphens). It captures sequences like +1 (123) 456-7890 or 123.456.7890. Useful for extracting or validating phone numbers in text documents, contact forms, or database fields where phone formats might vary.