Regular Expressions 101

Sponsors

Library entries

1
javascript

id

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

Username with "_" "-"

no description available
Submitted by Gianvy - 7 years ago
1
python

gg

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

Don't know how to match this.

no description available
Submitted by Nick - 7 years ago
1
javascript

urls ending with

Urls ending with a specific domain
Submitted by anonymous - 7 years ago
-2
javascript

search all special characters

no description available
Submitted by rlynjb - 7 years ago
1
javascript

domain with .co.uk

Any domain written www.domain.co.uk
Submitted by Byron Sargeant - 7 years ago
1
python

Simple RegEx for SQL Field transformation

no description available
Submitted by sX - 7 years ago
1
javascript

Date testing with 2 digit year

Date javascript
Submitted by petabyte - 7 years ago
2
javascript

Date Testing

Javascript date regex
Submitted by anonymous - 7 years ago
-2
javascript

SQL Injection

SQL injection regEx pattern
Submitted by Darshan Patil - 7 years ago
2
javascript

US zip Code

US zip Code
Submitted by Aloke - 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