Regular Expressions 101

Library entries

Telephone number

Vote

1

Regular Expression
pcre

/
^((\([\d]{3,5}\))?([\d]{3,5}))(\d{3})(\-)?(\d{2})(\-)?(\d{2})$
/
gm

Description

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