Regular Expressions 101

Sponsors

Library entries

0
javascript

rwd

rwd
Submitted by anonymous - 8 hours ago
0
javascript

Cbre bookingid

a
Submitted by anonymous - 13 hours ago
0
pcre

get arrays from Json

get arrays from Json
Submitted by fawaz - a day ago
0
pcre2

Match CamelCase

Matches PascalCase or CamelCase
Submitted by anonymous - 2 days ago
0
pcre2

nr_classe

separação de um código numérico simples
Submitted by anonymous - 2 days ago
0
python

month with year extraction

ready code
Submitted by anonymous - 2 days ago
0
pcre2

General regular expressions

General
Submitted by Stavros - 2 days ago
0
pcre2

Database_Data_Type

DatabaseDataType
Submitted by anonymous - 2 days 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 - 6 years ago