RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details U.S. Military Time
Expression
^([0]?\d|1\d|2[0-3]):([0-5]\d):([0-5]\d)$
Description
Matches U.S. military time with option leading zero and required seconds.
Matches
1:01:01 | |01:01:01 | |12:23:33: | |22:09:59
Non-Matches
1:23 | |24:00:00
Author Rating: The rating for this expression. Kerry Keel
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials