Regular Expressions 101

Community Patterns

1...56789...902

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^[A-Z]{3}[0-9][0-9A-Z][0-9]{2}$
/
gm

Description

Expressão regular baseada na publicada no artigo REGEX para Placas Brasileiras (incluindo Mercosul) de Ricardo Coelho.

Submitted by Lucas Miranda <https://github.com/liddack> - 3 years ago