if i have a string like this "Hello - World - Hello World"
I want to replace the characters PRECEDING the FIRST instance of the substring " - "
e.g. so replacing the above with "SUPERDOOPER" would leave: "SUPERDOOPER - World - Hello World"
So far I got this: "^[^-]* - "
But this INCLUDES the " - " which is wrong.
how to do this with regex please?