Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?:[^\n]+)?(?:\b(?:(?!\bCPF\b))(?:(?!\bCNPJ\b))(?:(?!\bCNH\b))(?:(?!\bRG\b))(?:[A-Z\u00C0-\u00DC][A--ÿ']+\s(?:(?:(?:[A--ÿ']{1,3}\s)?(?:(?:(?!\bCPF\b))(?:(?!\bCNPJ\b))(?:(?!\bCNH\b))(?:(?!\bRG\b))[A--Ÿ][A--ÿ']*\s?))+))\b(?:(?:[^\n](?:.+?\n)|(?:.+?\Z))))
"
g

Description

no description available

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