Regular Expressions 101

Community Patterns

ATF: Match Article number in Article citation

0

Regular Expression
Python

r"
(?<!s\.|l\.|nd|et) [0-9]+
"
gm

Description

Stripped:

"Abs." to "s." "al." to "l." "und" to "nd"

for negative lookbehind to be the same length

Submitted by anonymous - 5 years ago