Regex Search for Month, DD, YYYY

Regex Search for Month, DD, YYYY

June 6, 2020

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. 

 

 

Please reload

Contact Me With Your Litigation Support Questions:

seankevinoshea@hotmail.com

  • Twitter Long Shadow

© 2015 by Sean O'Shea . Proudly created with Wix.com