Page 1 of 1

Deleting whole lines containing a phrase

Posted: Thu Mar 06, 2008 4:37 am
by haogden
I need to delete every line that contains a particular phrase. What can I do? Please and thank you.

Posted: Thu Mar 06, 2008 6:53 am
by MudGuard
Replace

Code: Select all

^.*ParticularPhrase.*\n
by nothing.

Posted: Thu Mar 06, 2008 7:18 pm
by haogden
Thank you. That just greatly improved the quality of my life.