Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
[1-2]\d\d\d-[0-1]\d-[0-3][\d]
"
g

Description

this regular expression is for validating dates in yyyy-mm-dd format

Submitted by anonymous - 2 years ago