How to remove following words from a text file:
I am not able to delete above four pattens using sed.
You cannot do that with
sed or generally with a regular expression. Identifying a closing parenthesis requires a parser which you might implement in
perl or whatever language.