Title |
Test
Find
Pattern Title
|
Expression |
((0[1-9])|(1[02]))/\d{2} |
Description |
Fromat check for MM/YY, checks month is 1-12 and any 2 digit year. |
Matches |
01/00 | 12/99 |
Non-Matches |
13/00 | 12/AS |
Author |
Rating:
Not yet rated.
Andrew Balaschak
|
Source |
|
Your Rating |
|
Title: Fix
Name: Meepster
Date: 3/12/2014 10:46:46 PM
Comment:
Should be
^((0[1-9])|(1[0-2]))/\d{2}$
or
^((0[1-9])|(1[012]))/\d{2}$
this nukes poor November otherwise
Title: Does not work with November
Name: Espo
Date: 4/28/2010 8:25:19 AM
Comment:
Does not work with November
Title: Pattern Title
Name: Jerode
Date: 3/9/2007 4:07:23 PM
Comment:
((0[1-9])|(1[012]))/\d{2}
Update to get month 11.