Use this free online tool to remove lines that end with specific text. Enter a word, phrase, or suffix, paste or upload your text, and remove every matching line. Choose case-sensitive or case-insensitive matching, then copy or download the result. Your text is processed locally in your browser.
Use this online tool to remove every line in your text that ends with a word, phrase, or other suffix you specify. It is useful for filtering logs, lists, exported data, and code without affecting lines that contain the same text earlier in the line.
Ending text: .tmp
Input:
report.csv
backup.tmp
notes.txt
cache.tmp
Output:
report.csv
notes.txt
The tool only removes a line when the selected text is at the very end of that line. For example, the suffix .tmp does not remove backup.tmp (old), because the line ends with (old).
Remove lines by suffix to filter file extensions, discard rows with a known ending label, clean lists, or remove selected trailing markers. Matching is literal text, not a regular expression. The original order of the remaining lines is preserved.
Text filtering happens locally in your browser. The content you paste or load is not uploaded to a server.