Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}
/
g

Description

Matches CNPJ, which is an identification number issued to Brazilian companies.

Submitted by Uilian Souza - 10 years ago