Notepad++ Delete Lines with Find & Replace

Use the "Extended" setting in the Replace window (not "Regular expression": I'm sure there's a way to do it with Regular expression, but using "Extended" works fine).
Enter ".pPrev.\r\n" in the "Find what" field, and leave the "Replace what" field blank. This will include the \r\n characters in the match and delete the whole line.


Using the "Regular expression search" option in the Find & Replace window:

Define the regex Find string that you are looking for, and include the \xd?\xa "end-of-line" characters in the match.

If want to delete these line brakes then leave the Replace string blank.

Note, the carriage return character is optional (\xd?), because you could have lines ending with no carriage return and only a line feed character \xa.