Line filter

Keep or drop lines that contain a text, equal it exactly, or match a regex.

One item per line. Up to 200,000 characters.

Action
Match by

Filtered in this browser. Nothing is sent anywhere.

Lines are compared as written — leading and trailing spaces count. In regex mode the pattern runs per line on your own text; a very heavy pattern can take a moment. Line order is preserved.

How to use

  1. Paste the text.
  2. Choose keep or drop and the match rule.
  3. Filter and copy the result.

What it supports

Matching is on the line as written, including surrounding spaces; an option ignores letter case. Input up to 200,000 characters; line order is preserved.

Related tools

Related guides