Regular Expressions 101

Community Patterns

^[0-9]{10,11}|2[0-9]{3,3}-(0[1-9]|[1][0-2])-(0[1-9]|[1-2][0-9]|3[0-1])

0

Regular Expression
PCRE (PHP <7.3)

/
[0-9]{10,11}|2[0-9]{3,3}-(0[1-9]|[1][0-2])-(0[1-9]|[1-2][0-9]|3[0-1])
/

Description

no description available

Submitted by anonymous - 8 years ago