Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^[0-9]{1,2}(\.[0-9]|\.1[0-1])?$
/

Description

Should allow in the following format YY.MM (Years.Months)

Submitted by anonymous - 6 years ago