Displaying page
of
pages;
Items to
Title |
Test
Details
Time 24:00 hrs format
|
Expression |
^(([01][0-9]|[012][0-3]):([0-5][0-9]))*$
|
Description |
The Regular Expression to validate time format in [24:00] hrs.
>> Pemitted values from 00:00 to 23:59
>> Prefix zero for single digit hours 01:00 to 09:59
>> Tested & Certified by Mr. Shripad Pramod Bhende :-)
|
Matches |
01:00 , 23:59
|
Non-Matches |
2:00, 2:2, 02-30
|
Author |
Rating:
VenkatRaj
|
Title |
Test
Details
Date Format
|
Expression |
(([1-9]|[0][1-9])|1[012])[- /.](([1-9]|[0][1-9])|[12][0-9]|3[01])[- /.](19|20)\d\d
|
Description |
Regular Expression to validate date in MM/DD/YYYY format.
>> Permitted formats "1/1/2008” or “01/01/2008” or “01/1/2008” or 1/01/2008”
|
Matches |
1/1/2008, 01/01/2008, 01/1/2008, 1/01/2008, 1-01-2008
|
Non-Matches |
31/12/2009
|
Author |
Rating:
VenkatRaj
|
Displaying page
of
pages;
Items to