What would be the preg_match expression and the ereg expression for a date with this format
format: mm-dd-yyyy
Thanks for the help!!!
\d{2}-\d{2}-\d{4}, without the delimiters
If you also wanted to match single month and day numbers
\d{1,2}-\d{1,2}-\d{4}