Regular Expressions 101

Sponsors

Library entries

1
pcre

Match a date in SQL Server format

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

Remove /* comments */ from CSS

no description available
Submitted by JerseyMilker - 8 years ago
1
pcre

tesdsa

dsadsadsadsa
Submitted by dasdasdsa - 8 years ago
1
pcre

HTML color search

Searches for hex colors in HTML code.
Submitted by Barlean - 8 years ago
2
pcre

named group sample

no description available
Submitted by anonymous - 8 years ago
0
pcre

split on dollar sign

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

include case

How to include the matched cases in the result?
Submitted by anonymous - 8 years ago
1
pcre

test

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

Usability request

implement vi keys PLEASE
Submitted by maurice.sprauge@gmail.com - 8 years ago
-7
pcre

hi

no description available
Submitted by asf - 8 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 - 8 years ago