Regex Search for Month, DD, YYYY
top of page

Regex Search for Month, DD, YYYY


You can use the below regular expression posted here by Veverke to search for dates in the 'Month, DD, YYYY' format - using the full spelling for the month. For example, 'July 4, 1976'.

(Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)?|May|Jun(?:e)?|Jul(?:y)?|Aug(?:ust)?|Sep(?:tember)?|Oct(?:ober)?|Nov(?:ember)?|Dec(?:ember)?)\s+(\d{1,2})\,\s+(\d{4})

This will account for standard abbreviations of the month names, but it will need to be modified if those abbreviations are followed with a period.


bottom of page