Regular Expressions 101

Sponsors

Library entries

0
python

emailfider

no description available
Submitted by anonymous - 7 years ago
0
javascript

ipv4 address

no description available
Submitted by Xiaohui Xu - 7 years ago
1
javascript

DDDD, dd MMMM

Friday, 23 October
Submitted by nehakadam - 7 years ago
0
javascript

space

no description available
Submitted by anonymous - 7 years ago
0
python

match invalid postcode

match as long as not 5digit code
Submitted by anonymous - 7 years ago
1
python

Line VTY

Used to search line vty for exec
Submitted by Hozenya - 7 years ago
1
python

f

f
Submitted by f - 7 years ago
1
python

Nuclear Exploit Kit

Nuclear Exploit Kit Requested file
Submitted by anonymous - 7 years ago

dd/mm/yyyy validation regexp

Vote

1

Regular Expression
python

"
^(?:(?: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 - 7 years ago