How to use Filter Text Lines
Filter a local text list or log by a search value. Keep whole matching lines or invert the operation to exclude them.
- Paste the source and enter Find.
- Set match mode, case handling and Remove matching lines as needed.
- Review the remaining line count and content.
Example input
Invoice-10 Invoice-2 Invoice-2 Invoice-3
Example use
Extract entries containing a known project code from a local log while keeping each matching line intact.
Output and compatibility
The rule applies per line. It does not keep nearby context automatically or read the material as a typed table. JavaScript regex semantics apply in pattern mode.
Troubleshooting
If too many lines match, refine the search or use a literal match for punctuation you intend to keep literal.
Use Filter CSV when the match should be confined to one field in a CSV.
Frequently asked questions
Will it return just the matching word?
It returns or removes whole lines. Use Regex Tester for individual matches.
Can I remove lines containing a phrase?
Enable Remove matching lines.