Regular Expressions 101

Community Patterns

Date regex

0

Regular Expression
Python

r"
^((((0?[1-9])|([1,2][0-9])|3[0,1])\.((0?[1,3,5,7,8])|10|12))|(((0?[1-9])|([1,2][0-9])|30)\.((0?[2,4,6,9])|11)))\.[0-9]{4}$
"
mg

Description

no description available

Submitted by Krynce - 3 years ago