Escaping the open & closed parenthesis characters
I am close to finishing a script that would find -- at the end of a graf -- some text in parenthesis and dump it at the top of the graf.
However, in the event there is text in parenthesis in the middle of the graf, I am having trouble with a Negative Lookahead. I can't seem to have GREP leap past "(sample text in parenthesis)" in the middle of the graf.
Example Problem:
Here is the example text of what I want to accomplish. Notice that it has (sample text in parenthesis) in the middle of the graf. It also has text at the end of the graf in parens that I want to capture. (xxxxx/xxxxx xxxxxx)
Example Solution:
xxxxx/xxxxx xxxxxx
Here is the example text of what I want to accomplish. Notice that it has (sample text in parenthesis) in the middle of the graf. It also has text at the end of the graf in parens that I want to capture.
