Regular Expressions 101

Library entries

0
pcre

strip host port

removes port number from URL
Submitted by pc - 7 days ago
0
pcre

Proxy Matcher

Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by dev.tntd2k2 - 10 days ago
0
pcre

latlonlatlon

gg
Submitted by anonymous - 11 days ago
1
pcre

ENEL T5 Mono

T
Submitted by anonymous - 22 days ago
0
pcre

Example 1.1: Pet Name

Example used in slide 39
Submitted by anonymous - a month ago
0
pcre

i++ in bash

asdf
Submitted by anonymous - a month ago
0
pcre

exp1

asdf
Submitted by anonymous - 2 months 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