Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^(\d? ?)?(\d{3}|\(\d{3}\))[ -]?\d{3}[ -]?\d+$
/
gm

Description

no description available

Submitted by anonymous - 9 years ago