Regular Expressions 101

Library entries

Simple Telephone number(America/Canada)

Vote

2

Regular Expression
pcre

/
^[0-9]{3}[\ ]{0,1}[0-9]{3}[\ ]{0,1}[0-9]{4}$
/

Description

Loading markdown...
Submitted by Christopher Dufort - 7 years ago