Filter lines
Keep or remove lines based on a rule.
Filter a list line by line using a word, an expression, or a text fragment. You can keep lines that contain a term, remove lines that contain it, or filter by the beginning or end of each line.
Filter lines
Choose a filter rule, enter the text to look for, then copy the filtered result.
Rule
Summary
- Kept lines
- 0
- Removed lines
- 0
- Characters
- 0
Quick explanation
Paste your list, choose the filter rule, then enter the text to look for. The result updates automatically with the number of kept and removed lines.
Try this too
Need to remove duplicates?
Use the Remove duplicate lines tool to get a unique list after filtering.
Additional information
How to filter lines
Paste your text or list in the left area, then choose a rule: contains, does not contain, starts with, or ends with. Enter the word, expression, or fragment you want to search for.
The result appears automatically in the right area. You can change the rule, adjust the options, clear the text, or copy the filtered result.
What are the options for?
Match case treats uppercase and lowercase letters as different. Line edges ignores spaces at the beginning and end of lines while filtering. Empty lines removes blank lines from the result.
When is it useful?
Use it to clean a word list, filter URLs, keep selected lines from an export, remove unwanted entries, or prepare text before copying it elsewhere.
Limits and reuse
AppErgo tools are provided free of charge for practical and informational purposes. Although care is taken in their design, a result may be incomplete, unexpected or incorrect. Before relying on a result for any important use, check it using an appropriate method.
To report a bug in the tool, you can use the dedicated bug report form.
Results produced by AppErgo tools may be copied and reused freely. When publicly reusing a result, a method or an AppErgo page, a link to the relevant page is appreciated.
Unless otherwise stated, AppErgo texts, images, visual elements, scripts, templates and internal components remain the property of AppErgo.
For any other request, you can contact the webmaster.