in reply to Re: Capturing string matched by regexin thread Capturing string matched by regex
I feel a little dumb for not figuring that out on my own :)
Thanks Dave and AnomalousMonk (the parentheses were indeed not needed).