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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Get one and two numeric digits between 1 and 12 inclusive
Expression
^1?[1-2]$|^[1-9]$|^[1]0$
Description
Get one and two numeric digits between 1 and 12 inclusive, positive numbers only (Zeros are excluded and so is values higher than 12).
Matches
1 | 6 | 12
Non-Matches
-1 | 0 | 13
Author Rating: The rating for this expression. Lars Brandt
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: need help
Name: rafodasse
Date: 1/17/2012 9:34:48 AM
Comment:
Can you help me to be between 5 and 20


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