/&.*$/RegExpedia

Pattern: Phone Number

Description for pattern 3

ttheIntuitionist3/26/2025

Regular Expressions

^(\+?1[\s.-]?)?\(?([0-9]{3})\)?[\s.-]?([0-9]{3})[\s.-]?([0-9]{4})$

ttheIntuitionist3/26/2025

^(\+\d{1,2}\s?)?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}$

ttheIntuitionist3/26/2025

Matching Strings

Matches?TextDescriptionAuthor
+44 20 7123 4567UK number formatttheIntuitionist
+86 123 4567 8901Chinese number formatttheIntuitionist
+1-555-123-4567US/Canada formatttheIntuitionist

Non-matching Strings

Matches?TextDescriptionAuthor
+123Too shortttheIntuitionist
not-a-numberInvalid formatttheIntuitionist