Title |
Test
Find
Time HHMMSS
|
Expression |
^((0[1-9]|1[0-9]|2[0-4])([0-5]\d){2})$ |
Description |
Time, which reg express is very simple to use :) |
Matches |
010000 | 245959 | 120000 |
Non-Matches |
10000 | 000000 | 250000 |
Author |
Rating:
ARUN PRASATH
|
Source |
|
Your Rating |
|
Title: This RegEx is not the more common ISO standard and Military Time
Name: JP McCrory
Date: 12/13/2018 7:28:06 PM
Comment:
So the hour range is 01-24 not 00-23 so if you are expecting standard ISO or Military hour ranges this is not the RegEx for you. This should be noted in Title of RegEx
Title: Why not to do so?
Name: Aigars
Date: 10/31/2008 10:12:56 AM
Comment:
^[0-2]\d[0-5]\d[0-5]\d$