Deleting whole lines containing a phrase

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
haogden
Posts: 2
Joined: Thu Mar 06, 2008 4:33 am

Deleting whole lines containing a phrase

Post by haogden »

I need to delete every line that contains a particular phrase. What can I do? Please and thank you.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Replace

Code: Select all

^.*ParticularPhrase.*\n
by nothing.
haogden
Posts: 2
Joined: Thu Mar 06, 2008 4:33 am

Post by haogden »

Thank you. That just greatly improved the quality of my life.
Post Reply