views:

1065

answers:

1

Hi,

I am trying to find and delete a line using Notepad++

I need to find lines in this file (UNIX Format) that match the string '#RedirectMatch Permanent' and delete that line.

Does anyone know how to do this using Notepad++ Find and Replace?

Thanks and Kind Regards,

+2  A: 

If it supports standard regex...

find:
^.*#RedirectMatch Permanent.*$

replace:

Replace with nothing.

Stefan Kendall
Excellent this works. Thank you sir!!
If it works, please mark the answer as accepted (the checkmark).
Jeremy Stein