Looking for assistance for a coding problem I am having.
I need to find a character, write the following characters to console, and stop at a particular character.
I need to write all characters between the FIRST '(' and FIRST ')'.
Example text to parse:
(((Write now))) example( today
((3 to) go ( tool
This should output:
((Write now today
Hope my example makes sense. It should read the line, find the first opening '(', then write all text (including other open parentheses) until it reaches the next close parentheses ')'. It should then ignore all characters until it finds another opening parentheses and then do the same. It should, however, not write anything after an opening parentheses if there is not a closing parentheses.