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 Open Close Time
Expression
^(([0-1][0-9]|2[0-3])[0-5][0-9]\-([0-1][0-9]|2[0-3])[0-5][0-9]|[C|c]losed)$
Description
This allows for a single line input of open and close times (for a store/office).
Matches
0700-1530 | 1130-2310 | Closed | closed | 0000-2359
Non-Matches
0700 | Not open | 0700-2400 | 3159-0761
Author Rating: Not yet rated. J. Matthew Phipps
   Displaying page 1 of 1 pages; Items 1 to 1

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