Regular Expressions 101

Library entries

Credit Card Expiry Date

Vote

12

Regular Expression
javascript

/
^(0[1-9]|1[0-2])(\/|-)([0-9]{4})$
/
gm

Description

Loading markdown...
Submitted by Rider - 7 years ago