A simple regex will do the job.
preg_match('/\d{5}/', $input)
See also http://www.php.net/preg_match
2
solved check if 5 digit number is available in a string
A simple regex will do the job.
preg_match('/\d{5}/', $input)
See also http://www.php.net/preg_match
2
solved check if 5 digit number is available in a string