I have a series of lines in which there is string data I need to extract that is enclosed in parens "()". There is other "stuff" outside the parens and each set of data is separated with a comma. I cannot seem to come up with a working 'sed' command(s) to effectively delete everything except what is in parens and separating commas. In other words a line might look like:
blah blah blah (good stuff here) maybe some blah, more blah (more good stuff here), ...
Can one of you regexp experts help me with this? TIA.
blah blah blah (good stuff here) maybe some blah, more blah (more good stuff here), ...
Can one of you regexp experts help me with this? TIA.