Regular Expressions 101

Library entries

Phone numbers

Vote

0

Regular Expression
pcre

/
^\W?\d*?\W*?(?<area>\d{3})\W*?(?<group1>\d{3})\W*?(?<group2>\d{4})\W*?$
/
gm

Description

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