Regular Expressions 101

Sponsors

Library entries

-2
pcre

Parse all adresses in href

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

JSON KEY VALUE

Get key value in json string
Submitted by Marcio Paiva Barbosa - 7 years ago
-2
pcre

Facebook url regex

no description available
Submitted by Devs Devaras - 7 years ago
-2
pcre

HTML <script> regex

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

Numbers separated by comma and whitespace

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

ex_3_b

no description available
Submitted by anonymous - 7 years ago

MYSQL DateTime validator (leap year support)

Vote

-2

Regular Expression
pcre

/
^((1[6789]|[2-9][0-9])[0-9]{2}-(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))(\s)(([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|(24:00:00))?$|^((1[6789]|[2-9][0-9])[0-9]{2}-(0[469]|11)-(0[1-9]|[12][0-9]|30))(\s)(([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|(24:00:00))?$|^(((16|[248][048]|[3579][26])00)|(1[6789]|[2-9][0-9])(0[48]|[13579][26]|[2468][048]))-02-(0[1-9]|1[0-9]|2[0-9])(\s)(([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|(24:00:00))?$|^(1[6789]|[2-9][0-9])[0-9]{2}-02-(0[1-9]|1[0-9]|2[0-8])(\s)(([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|(24:00:00))?$
/

Description

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