Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-06-15 22:39
Updated·2022-03-22 00:17
Flavor·Python

r"
([A-Z 0-9]+)[ _]?([0-9]{4}-[0-9]{2}-[0-9]{2}|[0-9]{2}/[0-9]{2}/[0-9]{2,4}|#+)[ _]*([A-ZÁÃo0-9()º' .¬∫–-]+)[ _]*([0-9]{4}-[0-9]{2}-[0-9]{2}|[0-9]{1,2}/[0-9]{1,2}/[0-9]{2,4})?[ _]+([0-9]{2}:[0-9]{2}:[0-9]{2})[ _]*([0-9]|RI)?
"
gm
Open regex in editor