Regex for a US Phone Number
Matches common US phone number formats with optional parentheses and separators.
Published October 10, 2026
Matches common US phone number formats with optional parentheses and separators.
Key points
- Matches formats like (555) 123-4567, 555-123-4567, 555.123.4567, and 5551234567
- Doesn't validate area code legitimacy — only the digit pattern
Example
^\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}$