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