Regular Expressions 101

Community Patterns

Czech phone number

1

Regular Expression
PCRE (PHP <7.3)

/
^(\+?420)?(2[0-9]{2}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|72[0-9]|73[0-9]|77[0-9]|60[1-8]|56[0-9]|70[2-5]|79[0-9])[0-9]{3}[0-9]{3}$
/

Description

no description available

Submitted by anonymous - 8 years ago