Multi-Filter Line Filter
Stack multiple filters to strip unwanted lines from a block of text. Each filter says "remove if line contains X", "…does NOT contain Y", "…starts with", "…ends with", "…matches regex", or "…is empty". A line is dropped when <em>any</em> filter matches it — combine as many as you like.
Filters
A line is removed when any filter matches it. Add as many filters as you need.
More options
How to use Line Filter
- Paste your text into the input.
- Click +Contains, +Doesn't contain, +Starts with, +Ends with, +Regex, or +Empty to add a filter.
- Type the text/pattern for each filter.
- The output updates live — copy or download when satisfied.
What is Line Filter?
This is a multi-condition upgrade of the simple Remove Lines Containing tool. Use it for log cleanup, todo list pruning, removing comments + blank lines in one pass, narrowing a CSV column dump, or any pipeline where one filter isn't enough.
Each filter is evaluated against the raw line (or trimmed line, if you tick the option). Lines that match any filter are removed; the rest are kept in original order.
FAQ
- Can I combine 'contains' and 'doesn't contain' filters?
- Yes — any number of each kind, in any order. A line is removed if any single filter matches it.
- How does this differ from Remove Lines Containing?
- The simple tool takes one pattern. This one stacks unlimited filters of mixed types (contains, not-contains, starts/ends-with, regex, empty).
- What about regex?
- Add a '+Regex' filter. Case-insensitive option applies. Invalid regex syntax is flagged in the status row instead of breaking the output.