Replace Entire Line

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
dsvxaey
Posts: 2
Joined: Wed Nov 07, 2007 2:07 pm

Replace Entire Line

Post by dsvxaey »

I'm trying to remove an entire line that starts with "C:". Can someone give me some pointers on how to accomplish this?

Thanks.
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Find what: ^C:.*\n
Replace with: [nothing]

[X] Regular expression
dsvxaey
Posts: 2
Joined: Wed Nov 07, 2007 2:07 pm

Post by dsvxaey »

That worked. Thank you.
Post Reply