2021年8月12日

python正则表达式过滤

摘要: strr=r'045-夜总.....夜(6人封闭).zip.zip' re.sub(r'\d+-|(.zip)|[(](.*?)[)]', "",strr) 输出结果 夜总.....夜 阅读全文

posted @ 2021-08-12 17:50 耀扬 阅读(345) 评论(0) 推荐(0) 编辑

导航