Displaying page
of
pages;
Items to
Title |
Test
Details
24H Time
|
Expression |
^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$
|
Description |
Checks time in 24 hours notation, however this one is shorter than the ones I found on regexplib
|
Matches |
23:00 | 12:21 | 0:00
|
Non-Matches |
24:00 | 23:60 | 0:60
|
Author |
Rating:
nikneem
|
Title |
Test
Details
Dutch date & time combination
|
Expression |
^([3]{1}[0-1]{1}|[1-1]?[0-9]{1})-([0-1]?[0-2]{1}|[0-9]{1})-[0-9]{4}([\s]+([2]{1}[0-3]{1}|[0-1]?[0-9]{1})[:]{1}([0-5]?[0-9]{1})([:]{1}([0-5]?[0-9]{1}))?)?$
|
Description |
Validates dutch (european) date and time combination (dd-mm-yyyy). Dates are accepted, date and time is accepted. The time notation (hh:mm:ss) may or may not contain a value for seconds
|
Matches |
31-12-2009 23:59:59 | 1-1-2010 10:00 | 01-01-2010
|
Non-Matches |
32-12-2009 | 01-13-2010 | 01-01-2010 01
|
Author |
Rating:
nikneem
|
Displaying page
of
pages;
Items to