Regular Expressions 101

Community Patterns

Expressão Regular para Telefone Fixo com ou sem mascara

1

Regular Expression
PCRE (PHP <7.3)

/
^\(?[1-9]{2}\)?( ?)?([1-9]{1}[0-9]{3}|[0-9]{3}) ?[0-9]{4}$
/
gm

Description

Expressão Regular para Telefone Fixo com ou sem mascara

Submitted by Luis Nt - 3 years ago