Regular Expressions 101

Library entries

0
pcre

Select string in between HTML tags

no description available
Submitted by Jim Sheen - 8 years ago
1
pcre

magento digits-range validation

no description available
Submitted by anonymous - 8 years ago
1
python

f

f
Submitted by f - 8 years ago
1
pcre

Delte first symbols in line

no description available
Submitted by Ilya Korzh - 8 years ago
1
python

Nuclear Exploit Kit

Nuclear Exploit Kit Requested file
Submitted by anonymous - 8 years ago
1
pcre

Chrizzzs Regex

no description available
Submitted by anonymous - 8 years ago
1
pcre

ok

no description available
Submitted by anonymous - 8 years ago
1
pcre

Angler Exploit Kit

no description available
Submitted by anonymous - 8 years ago
2
pcre

YouTube Iframe parser

no description available
Submitted by anonymous - 8 years ago
1
pcre

BETWEEN clause

no description available
Submitted by anonymous - 8 years ago

dd/mm/yyyy validation regexp

Vote

1

Regular Expression
python

r"
^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$
"

Description

Loading markdown...
Submitted by uknnown - 8 years ago