Regular Expression for "Visa credit card 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
(Permanlink to this request: Visa credit card format)
The subject matches the regular expression pattern
Note: The regular expression validation in this page uses PHP's preg_match() to check the correctness of the pattern.