$str = '13812345678';
$pattern = '/^139\d{8}$/';
preg_match($pattern,$str,$macth);
var_dump($macth);

相关文章:

  • 2022-01-09
  • 2021-08-12
  • 2021-07-30
  • 2021-10-07
  • 2021-11-29
  • 2021-12-09
猜你喜欢
  • 2021-10-03
  • 2021-10-27
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
相关资源
相似解决方案