Hi, this is a newbie question.
I have string which may come in the following formats:
string1 (string2 - string3)
string1 (string2/string2 - string3)
I always to grab string2 with replace with regular expression.
I am doing the following:
to get $2
I guess I don't understand the priority of the bracket statement. How do I make it choose the first occurence (leftmost) of those choices. In the third example, there are multiple forward slashes and I want to choose the first.