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
\'
Using the "Replace all" functionality, you can delete a line directly by ending your pattern with:
$\n?
$(\r\n)?
For instance, in your case :
.*#RedirectMatch Permanent.*$\n?