Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
\d{5}-\d{3}
/
gm

Description

Match Brazilian zipcode pattern (CEP): 99999-999

Submitted by @rafaelteruyuki - 2 years ago (Last modified 2 years ago)