Regular Expressions 101

Library entries

CNPJ

Vote

0

Regular Expression
pcre2

/
(?<=(?i:\bCNPJ\b\s))(?:<=(?:.+))?(?:\b\d{2}\.?\s?\d{3}\.?\s?\d{3}\/?\s?\d{4}\-?\s?\d{2}\b)
/
g

Description

Loading markdown...
Submitted by anonymous - 8 months ago