Extract Matching Lines

Extract Matching Lines: Keep lines containing exact text with optional case-insensitive matching.

Extract Matching Lines

Extract Matching Lines: Enter text and a literal search phrase. Choose whether to ignore case; only lines containing that phrase are returned.

Loading the tool...

✓ Your inputs stay in this browser

How to use Extract Matching Lines

Enter text and a literal search phrase. Choose whether to ignore case; only lines containing that phrase are returned.

Example

Searching for "error" (ignore case) extracts lines with both "ERROR" and "error".

What to know

This tool matches plain text, not regular expressions. Whitespace and line order are preserved for matching lines.