Regular Expressions 101

Community Patterns

Phone Number with no letters or spaces

1

Regular Expression
PCRE (PHP <7.3)

/
^[0-9,(,),+,_,#,~,-]{1,45}$
/

Description

Phone Number with no letters or spaces

Submitted by JP Hunter - 8 years ago