I have a string
To isolate the text you want, use a capturing group around the part of the regex that matches that text.
The change I made is where you have
.+ (any non-empty sequence of characters), I have
([^)]+) (a capturing group containing a non-empty sequence of characters other than
); this means this part of the match stops just before the first
), rather than just before the last