Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^\d{2}\d{3}[-]\d{3}$
/
gm

Description

Regex para validação de CEP

Submitted by Jasmini Santos - 2 years ago (Last modified 2 years ago)