Regular Expressions 101

Library entries

Валидация срока действия карты

Vote

1

Regular Expression
pcre

/
^(?:[0-1][1-2])\/(?:[0-2]\d|3[0-1])$
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago