Title |
Test
Find
Pattern Title
|
Expression |
^(((\d{4})(0[13578]|10|12)(0[1-9]|[12][0-9]|3[01]))|((\d{4})(0[469]|11)([0][1-9]|[12][0-9]|30))|((\d{4})(02)(0[1-9]|1[0-9]|2[0-8]))|(([02468][048]00)(02)(29))|(([13579][26]00) (02)(29))|(([0-9][0-9][0][48])(02)(29))|(([0-9][0-9][2468][048])(02)(29))|(([0-9][0-9][13579][26])(02)(29))|(00000000)|(88888888)|(99999999))?$ |
Description |
it's for date in the format: "yyyymmdd" and it validates the empty string and some special values (00000000,88888888,99999999) but you can delete these last values. It works with leap years. |
Matches |
20041212 | 20040229 | 88888888 |
Non-Matches |
20040230 | 20041330 |
Author |
Rating:
Artu
|
Source |
|
Your Rating |
|
Title: Very good
Name: mani
Date: 2/10/2009 1:10:52 AM
Comment:
its very nice