Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
ECMAScript (JavaScript)

/
^(\(?[0-9]{2}\)?)? ?([0-9]{4,5})-?([0-9]{4})$
/
gm

Description

no description available

Submitted by Castrolol - 10 years ago