Filter Lines
Keep or remove lines that contain a word or match a pattern.
About this tool
Keep only the lines that contain (or do not contain) some text, start or end with it, or match a regular expression.
How to use
- Type or paste your text into the input box – or drop a text file on it.
- Adjust the options. The result updates instantly.
- Copy or download the result, or send it to another tool with "Use in…".
Your text never leaves this device: the tool runs entirely in your browser and nothing is uploaded or stored.