For some time now I've been using Notepad++ as my primary text editor. Given how much time I spend modifying configuration files, writing scripts and scouring log files its not exactly a surprise that I've come up with some nifty workflows for working with text in this editor. Whilst I do occasionally shift back to NoteTab Pro for its immensely useful scripting options I try and stay in Notepad++ as much as I can.
One of the old NoteTab clips I wrote was for removing lines from files where some specified text was not found in the line. I also had variations for lines not starting and not ending with the text. For a while I dropped back into NoteTab to do such file filtering, but after a while I figured out how to do it in Notepad++ and so I thought I'd share the knowledge a little for anyone else who has occasion to do this.