想把1.xxxxxxxx。xxxxx。2.xxxxxx是1.5。xxx。3.xxxxxxx。按序号分开
import re content="1.xxxxxxxx。xxxxx。2.xxxxxx是1.5。xxx。3.xxxxxxx。" p=re.compile(r'(\d.\S*?。)') y=p.findall(content) print(y)