Regular Expressions 101

Sponsors

Library entries

0
python

whatsapp meta data

[8/23/18, 2:05:50 PM]
Submitted by Mandar Gite - 5 hours ago
0
python

bkengine 单行宏匹配

bkengine 单行宏匹配
Submitted by anonymous - 10 hours ago
0
python

取等号两边的数据

取等号两边的数据
Submitted by 小沙盒工作室 - 11 hours ago
0
python

Match files' extention

match files' extention
Submitted by anonymous - a day ago
0
python

去除首尾空格

去除首尾空格
Submitted by anonymous - a day ago
0
python

`git` URL

Match git URL components (including partial URLs).
Submitted by anonymous - 2 days ago
0
python

foengz1

htmltag
Submitted by Foengz - 15 days ago

Date Validator

Vote

0

Regular Expression
python

"
(?=..?(?P<del>[/,.-]))(?<!\d)(?P<d>31(?=.0?[13578]\D|30(?=.0?[13-9])|.1[02])|29(?=.0?2(?:.\d*(?:[02468][048]|[13579][26])|.-?[48]|(?!(?P=del)))\b|.(?:0?[13-9]|1[012]))|[0-1]?[1-9]|2[0-8])(?P=del)(?P<m>0?[1-9]|1[0-2])(?:(?P=del)(?P<y>-?[1-9]\d*?))?(?!(?P=del))\b
"
g

Description

Loading markdown...
Submitted by anonymous - 2 months ago