How to make such a restriction on the input field?

How to make such a restriction on the input field for the card "valid until" (MM / YY)

The restriction on input characters:
for "MM" is the Month can only be from 01 to 12
for "YY" the year must be at least 15

Divided by 2 the input is not an option. Use jQuery-Mask-Plugin

For convenience posted in Codepen

5e988b4563e75837341453.jpeg
April 19th 20 at 12:23
1 answer
April 19th 20 at 12:25
Solution
fuck this plugin, put the inputmask , in the same place if you search, there is an example

Find more questions by tags jQuery