Filter records written one per line
Keep or exclude text lines containing a literal, case-sensitive search value. Paste text into Input text, enter Search value (case-sensitive), and enable Exclude matching lines only when you want nonmatching lines. Select Process text. The original input is retained so you can inspect the result before copying or downloading it. Changing input or an option clears the previous output and download.
A reproducible example
Load the example, enter blue as the search value, and run the tool. Only blue apple remains. Enable Exclude matching lines to retain red berry and Blue sky instead. The example button replaces both the current input and its settings; use it before entering important work, or keep a source copy elsewhere.
Exact behavior and limits
Matches literal, case-sensitive text within each line. No regular expressions, trimming, case folding or numeric comparisons. The search value must not be empty. A zero-line result is valid and means no lines satisfied the rule. Punctuation such as .* is literal text. Blank lines can remain in exclusion mode because they do not contain a nonempty search term. This tool is not a CSV filter: quoted multiline CSV records require CSV Row Filter.
Each kept line retains its received line terminator, including a final terminator when present. The textarea can normalize pasted endings to LF before filtering. This is a logical-line filter rather than a file-byte preservation tool.
Troubleshooting and reviewing output
If the result is empty, check capitalization and spaces in the search value. An empty result is not an error; the count distinguishes it from a failed run. The search value must be nonempty, and input is limited to 100,000 UTF-16 code units. Keep the original because the output intentionally omits excluded lines.
Use CSV Row Filter for structured records with quoted line breaks. Use List Difference Tool to exclude exact full-line entries supplied in a second list instead of matching a substring.





