import re

mobile = '18312423454'

MOBILE = "^1[358]\d{9}$|^147\d{8}$|^179\d{8}$"
p = re.compile(MOBILE)

if p.match(mobile):
print(mobile)

相关文章:

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