Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

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

Description

no description available

Submitted by anonymous - 4 years ago (Last modified 4 years ago)