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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
[-+]((0[0-9]|1[0-3]):([03]0|45)|14:00)
Description
This matches timezone offsets. Also matches non-hour offsets like India (+05:30) and Nepal (+5:45}. See for more timezone information: http://en.wikipedia.org/wiki/Time_zone
Matches
+00:00 | -05:00 | +13:45
Non-Matches
+14:30 | +01:14 | -09:55
Author Rating: Not yet rated. Robert van der Boon
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: Not quite...
Name: Juan Carlos Carfdoso Riveroll
Date: 2/27/2006 8:16:21 PM
Comment:
Allows -13:00 and -14:00... which it really shouldn't. TZ range from -12 to +12


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