This is probably a simple problem, but unfortunately I wasn’t able to get the results I wanted…
Say, I have the following line:
"Wouldn't It Be Nice" (B. Wilson/Asher/Love)
I would have to look for this pattern:
" (<any string>)
In order to retrieve:
B. Wilson/Asher/Love
I tried something like "" (([^))]*)) but it doesn’t seem to work. Also, I’d like to use Match.Submatches(0) so that might complicate things a bit because it relies on brackets…
Edit: After examining your document, the problem is that there are non-breaking spaces before the parentheses, not regular spaces. So this regex should work:
""[ \xA0]*\(([^)]+)\)In a function: