Preg_match dd-mm-yyyy |
I have this code below which checks the date format dd/mm/yyyy
But i need it to check it like dd-mm-yyyy Question: What is the correct preg_match that can check this dd-mm-yyyy not dd/mm/yyyy PHP Code: if ($this->input->post('dob'))
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
Preg_match dd-mm-yyyy - by wolfgang1983 - 05-19-2017, 02:07 AM
RE: Preg_match dd-mm-yyyy - by Rufnex - 05-19-2017, 02:23 AM
RE: Preg_match dd-mm-yyyy - by wolfgang1983 - 05-19-2017, 02:31 AM
|