Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
\b(0?[1-9]|[12][0-9]|3[01])\b-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)
"
gmi

Description

Matching %d-%b date format with or without leading 0 in the day

Submitted by Justin Copeland - 2 years ago