Regular Expressions 101

Library entries

Phone area code - prefix - number

Vote

0

Regular Expression
javascript

/
^\d{3}-\d{3}-\d{4}$
/
gm

Description

Loading markdown...
Submitted by anonymous - 8 years ago