Python:Split string with multi-operator Python Apr 28, 2018 0 views re模块的split()函数可以使用多个分隔符对句子进行分割,其中不同的分隔符要用 “ ” 隔开。 import re re.split('。|!|?',text) Out[67]: ['你好', '吃早饭了吗', '再见', ''] PREVIOUSPython:add new columnsNEXTPython:Read Multi Csv File as one dataFrame Please enable JavaScript to view the comments powered by Disqus.