What I Want Regex String Input Text Result What This Does

Verify that the data is in this format MMM D(D) YYYY but don’t change it.

[a-zA-Z]{3}\s+\d{1,2},?\s+\d{4}

Feb 14, 2010

Feb 14, 2010

Validates that the date is in this format of MMM DD YYYY but does not change the format.

 

Was this article helpful to you?