Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^(J(an(uary|\.?)|u(n(e|\.?)|l(y|\.?)))|Feb(ruary|\.?)|Ma(r(ch|\.?)|y)|A(pr(il|\.?)|ug(ust|\.?))|Sept|Nov|Dec(ember|\.?)|Oct(ober|\.?))
/
g

Description

For Month Verification Works for January / Jan / Jan.

Submitted by F0123X - 8 years ago