Regular Expressions 101

Community Patterns

Brazillian Phone Number Format (Formato de Num. de Telefone no Brasil)

2

Regular Expression
ECMAScript (JavaScript)

/
^(\(?[0-9]{2}\)?)? ?([0-9]{4,5})-?([0-9]{4})$
/
gm

Description

no description available

Submitted by Castrolol - 9 years ago