Regular Expression for "Date in yyyy-mm-dd format"
Pattern : e.g. /^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})$/
Subject : e.g. 2007-01-12
Title : (optional) e.g. Date in yyyy-mm-dd format
Note: The regular expression validation in this page uses PHP's preg_match() to check the correctness of the pattern.