Skip to content
Takikit

Filter Lines by Keyword

Keeps or removes lines that contain a keyword or match a regular expression.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Handy for pulling the lines that mention a given city out of an order log, dropping every line marked canceled from a customer list, or trimming a server log down to error lines.

Matching respects Vietnamese accents, so typing ha noi will not match Hà Nội. Turn on regular expressions to match several terms at once, like Hà Nội|Hải Phòng, or only lines starting with 09 using ^09.

How to use

  1. Paste your text into the left box.
  2. Enter a keyword and choose whether to keep or remove matching lines.
  3. Click Copy or Download.

Frequently asked questions

Is my text sent to a server?

No. The tool runs entirely in JavaScript in your browser, and the text you paste never leaves your device.

Related tools

More Text tools

See all text tools