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 Credit Card Expiration Date Validator
Expression
^((0[1-9])|(1[0-2]))[\/\.\-]*((0[8-9])|(1[1-9]))$
Description
Validates major credit card expiration dates in MM/YY, MM.YY, MM-YY, or MMYY. Year range is 08-19.
Matches
01/08 | 01-08 | 01.08 | 12/10 | 12/19 | 0109
Non-Matches
01/06 | 01/20 | 0a09 | 00/09
Author Rating: Not yet rated. Dan Cardoso
   Displaying page 1 of 1 pages; Items 1 to 1

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