Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?P<line1>^[A-Z][^\d:]*$)\n(?P<line2>^[A-Z ]+(\(\w.+\))?(\s+)?(([\d,]+|-[\d,]+)\s((\s+)?[\d,]+|(\s+)?-[\d,]+).*))
"
gm

Description

no description available

Submitted by anonymous - 4 years ago