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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Time Validator in hours format from 00:00 to 23:59
Expression
^(([0-1]?[1-9]|2[0-3])(:)([0-5][0-9]))$
Description
This format accepts only the values between 00:00 to 23:59
Matches
00:00 14:59 13:59
Non-Matches
00:60 24:00 24:60
Author Rating: Not yet rated. Venkatesh Ellur
Source
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

Title: Does not allow 00:00
Name: CD
Date: 10/8/2010 5:18:08 AM
Comment:
^(([0-1]?[0-9]|2[0-3])(:)([0-5][0-9]))$ The above will allow 00:00


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