Use search functionality Search for line containing your string, check Non matched lines and press COPY buttton Into new file will be copied content what doesn't match
If you want lines, starting for some exact expression, use regular expression Search for: ^5234534.* [x]Regular expression [x]Copy nonmatching + COPY button You can use another way - empty lines you don't want with search/replace: Search: ^5234534.* Replace: (empty) [x]Regular expressions Followed by function to remove empty lines from menu Edit / Line manipulation -- <https://forum.pspad.com/read.php?2,69761,69763> PSPad freeware editor https://www.pspad.com