Regular Expressions 101

Sponsors

Library entries

1
pcre

number validator

exclude data with space and "-"
Submitted by HMK - 9 years ago
1
pcre

Number invalidator

Including +/-12.3. etc. Excluding MH12, etc.
Submitted by HMK - 9 years ago
1
pcre

YOLO

Substitutes "you only live once" with "YOLO".
Submitted by anonymous - 9 years ago
-2
pcre

Maintain portion in the middle

no description available
Submitted by HMK - 9 years ago
-34
pcre

your mom

aasdf
Submitted by your mom - 9 years ago
1
pcre

asd

asd
Submitted by anonymous - 9 years ago
1
pcre

quotes and escapes

no description available
Submitted by zgorawski - 9 years ago
1
pcre

regular expression - with space

no description available
Submitted by anonymous - 9 years ago
1
pcre

test url

no description available
Submitted by anonymous - 9 years ago
1
pcre

1

23123
Submitted by anonymous - 9 years ago
2
pcre

Match subset

no description available
Submitted by Jason - 9 years ago
-2
pcre

RegEx within tags

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

Version in Cordova config.xml

no description available
Submitted by procek - 9 years ago
0
pcre

match text between two <br/> tags.

no description available
Submitted by gordie - 9 years ago

Date Validator Regular Expression

Vote

0

Regular Expression
pcre

/
^((([1][9][0|2|4|6|8][0|4|8]|[1][9][1|3|5|7|9][2|6]|[2][0][0][0|4|8]|[2][0][1][2])[-|\\|\/|\.]([1][1-2]|[0][1|3|5|7|8])[-|\\|\/|\.]([0][1-9]|[1][0-9]|[2][0-9]|[3][0-1])|([1][9][0|2|4|6|8][0|4|8]|[1][9][1|3|5|7|9][2|6]|[2][0][0][0|4|8]|[2][0][1][2])[-|\\|\/|\.][0][2][-|\\|\/|\.]([0][1-9]|[1][0-9]|[2][0-9])|([1][9][0|2|4|6|8][0|4|8]|[1][9][1|3|5|7|9][2|6]|[2][0][0][0|4|8]|[2][0][1][2])[-|\\|\/|\.]([1][1]|[0][4|6|9])[-|\\|\/|\.]([0][1-9]|[1][0-9]|[2][0-9]|[2][0]))|(([1][9][0|2|4|6|8][1|2|3|5|6|7|9]|[1][9][1|3|5|7|9][0|1|3|4|5|7|8|9]|[2][0][0][1|2|3|5|6|7|9]|[2][0][1][0|1|3])[-|\\|\/|\.]([1][1-2]|[0][1|3|5|7|8])[-|\\|\/|\.]([0][1-9]|[1][0-9]|[2][0-9]|[3][0-1])|([1][9][0|2|4|6|8][1|2|3|5|6|7|9]|[1][9][1|3|5|7|9][0|1|3|4|5|7|8|9]|[2][0][0][1|2|3|5|6|7|9]|[2][0][1][0|1|3])[-|\\|\/|\.][0][2][-|\\|\/|\.]([0][1-9]|[1][0-9]|[2][0-8])|([1][9][0|2|4|6|8][1|2|3|5|6|7|9]|[1][9][1|3|5|7|9][0|1|3|4|5|7|8|9]|[2][0][0][1|2|3|5|6|7|9]|[2][0][1][0|1|3])[-|\\|\/|\.]([1][1]|[0][4|6|9])[-|\\|\/|\.]([0][1-9]|[1][0-9]|[2][0-9]|[2][0])))$
/

Description

Loading markdown...
Submitted by Punit Pal - 9 years ago