#2
|
|||
|
|||
.* will match any character (including end of line) any number of times (to the end of the file). Also, $ will only match the end of the line (exclusive of the CR/LF chars), so the line will be cleared but not removed. Something like this should work:
^[[^\r]]*Delete Me[[^\r]]*\r\n |
|
|