Regular Expressions 101

Sponsors

Library entries

0
pcre2

SamAccountName

Test for valid ActiveDirectory SamAccountName
Submitted by gareth - a year ago
0
pcre2

Not ending with png

Not ending with png
Submitted by Archon - a year ago
0
pcre2

Cron regex

cron regular expression
Submitted by anonymous - a year ago
0
pcre2

find matched words

find matched words
Submitted by fajar - a year ago
0
python

Match all text&newlines inside

...
Submitted by karkraeg - a year ago

Date MM-DD-YYYY | MM/DD/YYYY | MM.DD.YYYY (ex. 09-02-2021) (leading zeros for month and day)

Vote

0

Regular Expression
python

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

Description

Loading markdown...
Submitted by QuickRegEx - 2 years ago