Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
(January|February|March|April|May|June|July|August|September|October|November|December)[ ](0[1-9]|[1-2][0-9]|3[0-1])[,][ ](20)[0-9]{2}
"

Description

Match a date in the following Month Day, Year format: June 14, 2013

Submitted by Drew - 10 years ago