摘要: import re match=re.search(r'[1-9]\d{5}','BIT100081') if match: print(match.group(0)) #输出 100081 type(match)#输出 _sre.SRE_Match import re m=re.search(r' 阅读全文
posted @ 2018-04-10 23:57 歪胡子的日常 阅读(898) 评论(0) 推荐(0) 编辑