Skip to content
MyDailyTool

List Filter

Keep or remove lines matching a plain-text substring or regular expression. Useful for filtering log output, cleaning data, or extracting matching lines from large lists.

How to use the list filter

Type a substring (or regex pattern). Choose to keep matching lines or drop them. Case sensitivity is configurable.

Formula & explanation

Plain mode does a case-insensitive substring match by default; regex mode uses your pattern as JavaScript regex.

Examples

Pattern "a", keep mode → only lines containing "a". Switch to drop mode to remove them.

Frequently asked questions

How do I remove lines that contain a specific word?
Type the word in the Pattern field and select Drop mode. Every line containing that word will be removed from the output.
Can I filter using regular expressions?
Yes — enable the Regex toggle and enter any JavaScript regular expression, such as ^error to match lines starting with 'error'.
Is the filter case-sensitive?
No by default. Enable 'Case sensitive' if you need exact case matching, for example to distinguish 'NULL' from 'null'.
What is a common use case for list filtering?
Cleaning log files by removing noise lines, extracting only error lines from a large output, or filtering a CSV export by a keyword.

Related list tools tools