Regular Expressions 101

Library entries

telephone validator from FCC

Vote

0

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by anonymous - 4 months ago