Ok so occationally A script I run comes across text that looks like this (these are trivia answers)

Oort (cloud)
the (cleveland) browns

I'd like to just remove that chunk in the parentheses
This syntax of course doesn't work
Code:
set %answer $remove(%answer,$chr(40) * $chr(41))

And I'm sure there is a perfectly good reason it doesn't. But heh, I just don't know how to do this. Also its kinda important that in the case of "the (cleveland) browns" that the second space that would exist after (cleveland) is removed goes away.

I don't know why I don't know how to do this, but any help would be nice. Ty.