Comprehensive date validation regex pattern

/ Published in: Regular Expression
Save to your folder(s)

Ridiculously comprehensive date validation regex - matches dd/mm/yyyy or dd/mm/yy.

Also correctly matches number of days in months. ie. it won't match 30th Feb...


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.