I have a block of text that looks like this:
... a bunch of stuff
I\'d like to remov
To remove all the text starting from and including and ending at and including , use following sed command:
sed -i '//,//d' file_name;
Reference: Delete text or paragraph between two sections using sed