Regular Expressions 101

Sponsors

Library entries

1
javascript

latest

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

DB2 Nodes improved

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

DB2 Nodes Line Check

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

Telefoonnummer

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

phone number

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

SemVer chain parsing

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

UID

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

10 digits

10 digits
Submitted by anonymous - 7 years ago
1
javascript

Cartão de cidadão / BI

no description available
Submitted by David Serrano - 7 years ago

Date Validation

Vote

-2

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by anonymous - 7 years ago