hgx1xa
Last Updated: February 25, 2016
·
386
· wajatimur

Regex to Match d MM, YYYY Date Format

Below Regex will match date format of 4 March, 1981 or 4 march, 1981. Click here to try the example.

\b([1-9]|[12][0-9]|3[01]) (?:(J|j)anuary|(F|f)ebruary|(M|m)arch|(A|a)pril|(M|m)ay|(J|j)une|(J|j)uly|(O|o)ctober|(N|n)ovember|(D|d)ecember?)(\,) (?:19[7-9]\d|2\d{3})(?=\D|$)