Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

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

Description

no description available

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