Adam_L 0 Report post Posted September 9, 2010 Hi! I have an idea for a new feature for the editor NDN. To menu "Search" add function "Delete line..." This feature would operate similarly to the "Replace..." but when it finds the search text (or will not find - as an option) delete the whole line. Of course, finding it should be possible by means of regular expressions. Example: I want to delete all lines NOT starting with the words: FUNCTION or PROCEDURE I set: Text to find: $[ \t]*(FUNCTION|PROCEDURE) Options: [x] Delete when NOT FOUND , [x] Regular expression And press key "Delete all" Adam Share this post Link to post Share on other sites