Test, validate and match regular expressions
Validates phone numbers with flexible international and domestic formatting. It accepts an optional country code prefixed with + or 00, digit groups that may be wrapped in parentheses, and separators such as dashes, dots, spaces, or slashes. It also captures an optional extension indicated by #, ext, extension, or x (case-insensitive). Ideal for validating user-entered phone numbers in forms or contact data.