Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2016-11-04 04:38
Flavor·PCRE (Legacy)

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

Description

no description available

Submitted by anonymous