If I want to delete every word, that is easy, because I would do something like this:
But what if I want to do
xyz to every occurrence of "WORD"? For example, let's say I want to delete every line that contains "WORD". I can think of a couple ways to do this, but none of them seem ideal.
and then manually press
ddnddnddnddn... until there are no more occurrences. But this is time consuming if there are many lines to do this on.
and then guess how many times WORD occurs, and then, for example:
But this will either A) miss a bunch of lines or B) delete of bunch of extra lines.
Is there a better way to do this?