Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-01-05 23:57
Flavor·ECMAScript (JavaScript)

/
^(1\s?\(\d{3}\)\s?|1\s\d{3}[\s-]?|\(\d{3}\)\s?|\d{3}[\s-]?)\d{3}[\s-]?\d{4}$
/
Open regex in editor

Description

This regex matches Valid USA phone numbers

Submitted by anonymous