您的位置: 首页 > 文章 > 正则表达式匹配数字 正则表达式匹配数字 分类: 文章 • 2022-07-03 15:58:15 pattern = re.compile (r'\d+') # 查找数字l = pattern.findall (i)