Test, validate and match regular expressions
Validates Mexican phone numbers in a 3-3-4 digit format (e.g., 555-123-4567). Supports an optional country code prefix of 1-2 digits with an optional '+' sign (e.g., +52), an area code optionally wrapped in parentheses, and flexible dash or space separators between groups. Useful for validating and normalizing Mexican contact numbers in forms and databases.