摘要: https://www.runoob.com/w3cnote/reg-lookahead-lookbehind.html 取前面不是数字,后面不是数字,中间是四位数的 query = "12356/2022安徽光伏政策2222" re.findall('(?<!\d)\d{4}(?!\d)', qu 阅读全文
posted @ 2022-03-02 17:16 douzujun 阅读(62) 评论(0) 推荐(0) 编辑