I can't find general solution within tons of solutions. Just want to extract text outside any of parens group.
Ideally, this text
Application ( Change (Sui Generis (haha) ) cafe & laundrette) Monday to Thursday. (To match the sun).
match with 2 groups:
within parens:
" Change (Sui Generis (haha) ) cafe & laundrette"
and"To match the sun"
outside (at zero level) parens:
"Application"
+"Monday to Thursday."
Simple \(.*?\)
or \(.*\)
fails of course. I need to use non-capturing group I guess but how?