Delete Lines That Do Not Contain

Contents  Previous  Next


Menu: Edit > Delete > Lines That Do Not Contain


Default Shortcut Key: none


Macro function: DeleteLinesThatDoNotContain()


This command can be used to delete all lines that do not contain a user-specified text string.  If a range of lines is selected, the operation will be restricted to the selected range.  A confirmation is required before the command is performed, and the number of deletions made is reported upon completion.