Regular Expressions 101

Library entries

Basic Phone Number Verification

Vote

2

Regular Expression
pcre

/
^[(]\d{3}[)][-]\d{3}[-]\d{4}$
/

Description

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