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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^\d{1,2}\/\d{2,4}$
Description
Accepts 1-2 digits followed by a slash followed by 2-4 digits. Useful for numeric month/year entry.
Matches
9/02 | 09/2002 | 09/02
Non-Matches
Fall 2002 | Sept 2002
Author Rating: Not yet rated. Mike Hensley
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 there
Name: Mike Densley
Date: 7/9/2008 12:57:19 PM
Comment:
It allows 0/00


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