Editior automatically delete content between lines
I have a very simple question. I would like to automatically delete the content between certains words in a large file.
I would like to have
I the large file I have several instances of Word1 and Word2 so doing it by hand wouldn't be a fun thing to do. I am sure there are million ways of doing that. I tried vi (which is sure capable of doing that) but could only delete contents on the same line...
Any help would be nice.