🔍

Remove Lines Containing…

Filter out (or keep only) lines that match a keyword or regex pattern. Perfect for log filtering, CSV cleaning, and data extraction.

0 lines
0 lines
✓ Copied!

How to Use

Type a word or phrase in the search box and choose whether to remove lines containing it or keep only matching lines. Enable Regex to use regular expressions for advanced patterns like ^ERROR (lines starting with ERROR) or \d{3}-\d{4} (phone numbers). Enable Case-sensitive for exact-case matching.

FAQ

Can I use regex patterns?
Yes — enable the Regex checkbox and use any valid JavaScript regular expression. For example: ^# removes all comment lines starting with #.
What is "Keep matching" mode?
It inverts the filter — instead of removing matching lines, all other lines are removed. Only lines containing your search term remain.
Can I filter log files?
Yes — paste log content, type "ERROR" or "WARN", and instantly filter to only those lines.