Hi, how can I delete block of data based on some perticular string, string is some where in the block ( not in first or last)
here i wanted to delete block1, because it has remove in it
file.txt
block1 start hehu7
gjwsdh hsjdhj remove
hjhsj jdkwj
hwjdhjwh
end
block2 start crgr
hjdhwjd
wjdkwj wkjw g
hjhd
end