This tool filters a list of lines based on specific criteria. You can match by exact word, substring, prefix, suffix, or regular expression. It supports case sensitivity and lets you choose whether to include or exclude matches. Everything updates live with copy/export options.
How to Use:
- Paste or import your list into the Input List box.
- In the Options section:
- Enter your pattern (e.g.
berry
) - Select a match mode: contains, exact, starts with, ends with, or regex
- Toggle case sensitivity
- Toggle exclude matches to filter out results instead
- Enter your pattern (e.g.
- Adjust other settings:
- Trim lines removes extra spaces
- Ignore empty lines
- Matched lines appear in the Matched Output box with a live count.
- Use Copy Output or Export to File to save your result.
- Use Clear All to reset everything.
Example:
Input:
apple
apricot
banana
blueberry
Avocado
blackberry
Pattern: berry Mode: Ends with Output:
blueberry
blackberry
With Exclude Matches ON:
apple
apricot
banana
Avocado
Common Use Cases:
Use this tool to search, extract, or exclude entries from long lists. It’s ideal for filtering word lists, logs, categories, or any structured input where certain items match a known pattern or need to be excluded. Regex mode adds advanced filtering power.
Useful Tools & Suggestions:
If you’re searching for specific items in a list, Filter a List helps you keep only the matches and discard the rest ideal when you’re narrowing things down. And if you’re working with messy input, Normalize List Item Separators ensures everything’s split correctly before you even begin the search. Together, they make it much easier to locate exactly what you’re looking for, fast.