<?php function validateMobile($mobile){ return preg_match("/^1[345789]\d{9}$/", $mobile); } var_dump(validateMobile('15905199150'));
You have javascript disabled. You will not be able to edit any code.