Using GNU sed, I need to remove paste phrases like (click here ....), including parens. The text following click herechanges, but I need to remove all the outer parentheses.
I tried many options on the following, but I can't seem right:
sed -e 's/\((click here.*[^)]*\)//'
EDIT Stupidly, I did not notice that in the middle of the line in parentheses a line often appears, so sedit probably won't work. Example:
(click here to
enter some text)
source
share