I have a string with brackets and all sorts of characters and would like to extract everything of this string up to the word price (without price). I have tried the following but I just can't make it work.
string = 'b012500 GBP 6,500 (change) price'
re.search('^[^price]+',string)
I would like to get this as output
b012500 GBP 6,500 (change)
How can I do this?