What is the correct regular expression to use to validate a date like. 2009-10-22 or 2009-01-01 etc. Platform PHP
In .NET Regex:
\d{4}\-\d{2}\-\d{2}