Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(52)?1?(([2-9][1-9][1-8]\d{7})|([2-9][1-9][1-9][1-8]\d{6}))
/

Description

telefonos en mexico

Submitted by whereisanddy - 9 years ago