Title |
Test
Find
Another Date Matching Regex
|
Expression |
^([a-yA-Y]{3,4}(?:\.?|[a-yA-Y]{1,6}?)\s?\d?\d(?:[d-tD-T]{2})?\,?\s?(?:\'?\d\d|\d{4}))$ |
Description |
This will match things resembling a written date. It will match dates written incorrectly of course but this cute and funny date matching regex is for the beauty of the simplicity in checking the many ways to write a date. |
Matches |
Jan. 1, 2014 | January 1, '14 | JAN 1ST 2014 |
Non-Matches |
this is not a date | 123 isn't either | neither is this! |
Author |
Rating:
Not yet rated.
tedcambron
|
Source |
|
Your Rating |
|