Regular Expressions 101

Library entries

Phone number regex - phone number

Vote

0

Regular Expression
javascript

/
\(?\b([0-9]{3})\)?([0-9]{3})?([0-9]{4})\b
/
gm

Description

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