0

How to remove all lines containing a particular string in a file using vi or Vim editors

I want to remove all the lines which contain a particular string in a file, How to do this using vim/vi editor?

vim Add a comment
liam
asked Oct 26 2019