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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find 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: The rating for this expression. VenkatRaj
Source Venkat Raj @ VRaj
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

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