Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(\+ ?|0{2} ?)(421|420)([1-9]\d{2} ?)(\d{3} ?)(\d{3})$
/
gm

Description

Regular expression for phone numbers in Slovakia & Czech in international format.

Submitted by anonymous - 6 years ago