Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
[A|a]nother (one|two|three)|[A|a]nother \d+|[E|e]xtra (one|two|three|four|five)|[E|e]xtra \d+|(one|two|three|four) more
"
gm

Description

Extract phrases meaning "add X more of the previous item"

Submitted by anonymous - 5 years ago