Regular Expressions 101

Sponsors

Library entries

0
javascript

UPI ID regex

regex to detect or extract UPI ID
Submitted by anonymous - 24 days ago
1
pcre

Polynom

Regex to get polynomial coefficients
Submitted by Balandin Igor - 25 days ago
0
python

lua_pattern

lua file name
Submitted by anonymous - a month ago
0
javascript

Prefix all classes

Prefix all classes
Submitted by anonymous - a month ago
0
javascript

email regex

check mail regex
Submitted by anonymous - a month ago
0
javascript

mr regexp

Рег
Submitted by anonymous - a month ago
0
javascript

变成一行

把代码变成一行一个属性
Submitted by naoyuyan - a month ago

Valid "dd.mm(.y+)?" Date (customisable delimiter)

Vote

1

Regular Expression
python

"
^(?P<d>[0-1]?[1-9]|2[0-8]|29(?=.0?2(?:.\d*(?:[02468][048]|[13579][26])|[048])?$|..?[013-9].*$)|30(?=.?[013-9])|31(?=.0?[13578]\D|.1[02]))(?P<del>[/,. -])(?P<m>0?[1-9]|1[0-2])(?:(?P=del)(?P<y>\d+))?$
"
mg

Description

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