Regular Expressions 101

Community Patterns

Community Library Entry

-1

Regular Expression
Python

r"
(?:(?:Jan|Feb)(?:uary)?|Mar(?:ch)?|Apr(?:il)?|May|Jun(?:e)?|Jul(?:y)?|Aug(?:ust)?|Sep(?:tember)?|Oct(?:ober)?|Nov(?:ember)?|Dec(?:ember)?)
"
gi

Description

Matches with either the month or abbreviated 3 letter month name. No matching groups used

Submitted by Benargee - 6 years ago