Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
([0-9]{2}([-|.|/])[A-Z][a-z]{2}\2[0-9]{4})
"
gm

Description

Write a program, which matches a date in the format "dd{separator}MMM{separator}yyyy". Use capturing groups in your regular expression.

Submitted by anonymous - 2 years ago