Remove Lines Containing
Remove lines that contain or don't contain a specific search term.
Ctrl ↵
Ctrl↵run toolCtrlKsearch/searchEscclose
Frequently asked
- Does Remove Lines Containing handle very long lines?
- Yes. Individual lines of any length are processed fine. Only total document size (memory) is a practical limit.
- Where does my text go when I use Remove Lines Containing?
- Nowhere. Remove Lines Containing runs fully client-side, so your text stays inside the browser tab. Nothing is sent to our server because there is no server involved in the processing.
- How much does Remove Lines Containing cost?
- Nothing. Remove Lines Containing is free and has no signup, no rate limit, no watermark, and no paywalled "pro" tier. You open the page and start working.
- Does Remove Lines Containing support Windows CRLF line endings?
- Yes, both Windows (CRLF) and Unix (LF) line endings are understood. Output uses the LF convention, which works everywhere.
More in Basic Text Tools
Keep going with related tools
Add Prefix/Suffix
Insert a prefix and/or suffix into the content of each line.
Add/Remove Line Breaks
Add new line breaks and/or remove existing line breaks within your text.
Count Characters, Words, Lines
Count your text's characters, words, sentences, lines and word frequency.
Delimited Column Extractor
Extract a specific column of delimited text from each line.
Find and Replace Text
Find and replace text matching your search criteria.
Remove Duplicate Lines
Remove or delete all duplicate lines within your text.