Text Tool Runs instantly in your browser

Extract Matching Lines

Keep or remove lines that match a keyword, pattern, or regular expression.

1) Paste text
Add the text you want to inspect, clean, or transform.
2) Set options
Choose the mode and any formatting or filtering options.
3) Copy output
Use the processed output in your editor, notes, scripts, or tests.
Enter a literal keyword or a regex pattern.
No text is uploaded. Everything stays in this page.

Processed text

Nothing processed yet

Copy the transformed text and use it anywhere you need.