Hi
I am trying to replace text of a string with empty string.
Travel - Travel - Information
Animal - Cheetah/Tiger
Getaway - Getaway - Camping
This is my regex (\w+\s-\s\w+)$ which works fine for a single line, but for multi line this doesn't seem to be working fine
What regex should do is replace the text in this manner
Travel - Travel - Information changes to Travel - Information
Animal - Cheetah/Tiger remains as it is
Getaway - Getaway - Camping changes to Getaway - Camping
Here I have tried traversing text backwards, how is it possible to do the same thing from the beginning of the string?
Thanks in advance,
Ved