php正则验证手机邮箱是否数字 $email = '/^(\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*)?$/'; $mobile = '/^1[0-9]{10}$/'; $number = '/^\d+$/'; if(!preg_match($email,$info)){ }