RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find English Months
Expression
((0?[1-9]|1[012])|(?:(J|j)an(?:uary|\.)?|(F|f)eb(?:ruary|\.)?|(M|m)ar(?:ch|\.)?|(A|a)pr(?:il|\.)?|(M|m)ay?|(J|j)un(?:e|\.)?|(J|j)ul(?:y|\.)?|(A|a)ug(?:ust|\.)?|(S|s)ep(?:tember|\.)?|(O|o)ct(?:ober|\.)?|(N|n)ov(?:ember|\.)?|(D|d)ec(?:ember|\.)?))
Description
Match months in English, both in short and long form, and numeric month, with or without trailing zero.
Matches
Jan | jan. | Jan. | January | 01 | 1
Non-Matches
13 | 11/ | abc
Author Rating: Not yet rated. Mauro De Giorgi
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials