Regular Expressions 101

Sponsors

Library entries

0
pcre2

optional

optional
Submitted by anonymous - 8 months ago
0
pcre2

Split The Phone Numbers

Split The Phone Numbers
Submitted by anonymous - 7 months ago
0
pcre2

Ipv4 validation

regex for ip validation
Submitted by Amper - 7 months ago
0
pcre2

嵌入条件

嵌入条件
Submitted by anonymous - 7 months ago
0
python

Remove ANSI escape codes

Remove ANSI escape codes
Submitted by anonymous - 7 months ago
0
pcre2

Remove Hatena blog keyword

Remove Hatena blog keyword
Submitted by anonymous - 7 months ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 7 months ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 7 months 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 - 6 months ago