hello, i am trying to split a string by some keywords that aren't contained in parentheses...
so, let's say i have the string "i will meet you where we talked (but not where he said)". i want to split the string into 2 pieces. one containing: "i will meet you", the other containing "we talked (but not where he said)". in other words, i want a regex to match the "where" that isn't in parentheses and ignore the one that is.
thank you very much!
all the best
p.s. i asked a related question yesterday, but i realised that i thinked the whole thing wrong... so now i ask the right question...