Archive: Remove a line contains a unique string


Remove a line contains a unique string
How to remove a line contains a unique string?
I have a text contains 3 lines, e.g:

hello world
hello you
hello world

So I want to remove a line contains "you". And the file become like this:

hello world
hello world

How can I?


Anyone can help me please?


The following example replaces a certain line in a text file:

http://nsis.sourceforge.net/archive/...ances=0,11,311

You can modify it to simply not write a replacement for that certain line you want to delete.