Regex for US phone number

Matches a US phone number, optionally with +1 and separators.

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

Proof it works

6/6 sample tests passed · compiles: true

SampleShould matchResult
+1 (415) 555-2671 yes pass
415-555-2671 yes pass
4155552671 yes pass
555-2671 no pass
+44 20 7946 0958 no pass
phone no pass

Try your own input

Related patterns