Python正则 import rem = re.search('[0-9]', 'a1b2c3d4e5')print m.group(0)m = re.sub('[0-9]', 'X', 'a1b2c3d4e5')print mm = re.split('[0-9]', 'a1b2c3d4e5')print list(m)m = re.findall('[... python 2024-01-25 38 点赞 0 评论 57 浏览