Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^((00|0)?56[1-9]{1}[0-9]{1,2}[0-9]{3}[0-9]{2,3})$
/
gm

Description

Regex for Chilean phones (without +)

Submitted by anonymous - a year ago (Last modified a year ago)