Regular Expressions 101

Community Patterns

phone

0

Regular Expression
PCRE (PHP <7.3)

/
([+0]?[06]?)(?&sep)(36)?(?&sep)(?P<aera>1|[2-9][0-9])(?&sep)(?P<num>\d{3})(?&sep)(\d{2})(?'sep'[\)\(-\/\.x ]*){2}
/
ig

Description

no description available

Submitted by anonymous - 7 years ago