Filter Lines Containing
Paste text and a search term to keep only the lines that match — supports plain text, case-insensitive, and regex modes.
Use the Filter Lines Containing
0 lines
0 matches
Run Summary
0
Total lines
0
Matched
0%
Match rate
Copied!
Summary
Filter Lines Containing scans a block of text line by line and returns only those lines that match your search term. It works like a lightweight browser-side grep with plain, case-insensitive, and regular-expression modes. Processing happens entirely in your browser — no text is ever uploaded.
How it works
- Paste or type the text you want to filter into the Input box.
- Enter the word, phrase, or regex pattern in the Search field.
- Choose a match mode: plain (default), case-insensitive, or regex.
- Click Filter Lines — matching lines appear instantly in the Output box.
- Copy the result with the Copy button or clear both fields to start over.
Use cases
- Extract all error lines from a log file.
- Pull every line containing a specific domain from an access log.
- Filter CSV rows that include a particular value.
- Isolate lines matching a regex pattern in config files.
- Find all TODO comments copied from source code.
- Narrow down large text output from command-line tools.
- Extract email addresses or URLs embedded in multi-line text.
- Filter only lines that contain a specific IP address range.
Frequently Asked Questions
Last updated: 2026-05-23 · Reviewed by Nham Vu