python search regex field extraction code example
Example 1: numpy reg ex delete words before a specific character
sep = '...'
rest = text.split(sep, 1)[0]
Example 2: numpy reg ex delete words before a specific character
text = 'some string... this part will be removed.'
head, sep, tail = text.partition('...')
>>> print head
some string