用正则表达式:$str = '';$isMatched = preg_match('/0?(13|14|15|17|18|19)[0-9]{9}/', $str, $matches);var_dump($isMatched, $matches);