Regular Expressions 101

Library entries

Date YYYY-M-D | YYYY/M/D | YYYY.M.D (ex. 2021-9-2) (without leading zeros for month and day)

Vote

0

Regular Expression
python

"
(?P<date>((19|20)\d{2})[-/.]([1-9]|1[012])[-/.]([1-9]|[12][0-9]|3[01]))
"
gm

Description

Loading markdown...
Submitted by QuickRegEx - 7 months ago