Effectively you face two choices:
1. Use string indexes to find the position of the first
(
and then use that to find the
)
that follows it (use the index of the first ( as the starting position for your search). Now that you have the indexes, you would use substring to retrieve the part up to the
(
, and then from the
)
to the end. Repeat this process until you have no more
( )
sequences.
2. Use a regular expression to search for the
(...)
parts, and replace them with an empty string.
When I'm writing and testing regular expressions, I use
Expresso[
^] to help me.