📜  numpy reg ex 删除特定字符之前的单词 - Python 代码示例
📅  最后修改于: 2022-03-11 14:47:13.757000             🧑  作者: Mango
代码示例2
text = 'some string... this part will be removed.'
head, sep, tail = text.partition('...')
>>> print head
some string