I would like to know who to remove a string or paragraph that are between (((
string )))
Lorem ipsum (((dolor sit amet))), consectetur adipiscing elit. Vestibulum aliquet fringilla est, dictum tempor nunc venenatis at. Sed nec velit sit amet velit cursus imperdiet. Vivamus tincidunt ut nunc quis euismod. Quisque sit amet lorem rhoncus, malesuada justo at, ullamcorper erat.
So "dolor sit amet" should not be in the return
Here's the cmd I have for now which detect the first (((
but then stop...
sed -e "/(((/,/)))/d" file.txt
(((
and)))
in the text? – glenn jackman Mar 10 '15 at 14:53((( foo ((( bar))) baz)))
? How would you like those to be dealt with? How about((( foo \n bar (((baz))) )))
? – terdon Mar 10 '15 at 15:04