Displaying page
of
pages;
Items to
Title |
Test
Details
Almost any date
|
Expression |
(\d{1,2})\W+(\d{1,2})\W*(\d{2,4})?|(\d{4})\W(\d{1,2})\W(\d{1,2})|([a-zA-Z]+)\W*(\d{1,2})\W+(\d{2,4})|(\d{4})\W*([a-zA-Z]+)\W*(\d{1,2})|(\d{1,2})\W*([a-zA-Z]+)\W*(\d{2,4})|(\d{1,2})\W*([a-zA-Z]+)|([a-zA-Z]+)\W*(\d{1,2})|(\d{2})(\d{2})(\d{2,4})?
|
Description |
This will return the 3 parts of a date for you. Splice out the empty array portions and use the 3 parts to build/verify the date.
|
Matches |
05.20.1990, 05201990, 0520, may 5 1990, 5-may-1990
|
Non-Matches |
520
|
Author |
Rating:
Not yet rated.
adam
|
Displaying page
of
pages;
Items to