Pinatool

Filter Lines

Filter text lists and log files using text matching or regular expressions. Keep matching lines or remove them to extract the information you need.

Action
Matching Mode

Input Lines

7 lines

2 matches found

Browser-local processing: All filtering and regex evaluations occur directly in your browser without uploading data.

How Line Filtering Works

Extract or isolate data rows in three straightforward steps.

Step 101

Paste or Enter Lines

Paste server logs, CSV entries, email records, or code into the editor, or click “Sample” to load example server logs.

Step 202

Set Filter Criteria

Provide your target word or regex pattern, choose whether to keep or remove matching lines, and pick the matching mode.

Step 303

Inspect & Export

Review the kept or excluded line lists in real time, then copy the filtered output to your clipboard or download it as a text file.

Key features

Filter text lists and log files using flexible matching rules.

Flexible Match Modes

Filter by substring contains, prefix starts-with, suffix ends-with, exact string comparison, or regular expressions.

Dual Dataset Inspection

Easily toggle between kept and excluded line lists to verify that only the intended data rows were captured or removed.

Local Browser Processing

Your input is processed directly in your browser and is not uploaded to Pinatool's servers.

Frequently Asked Questions

Common questions about line filtering, regex syntax, and filtering behavior.

How do I remove lines that contain a specific word?

Set the Action toggle to "Remove Matching". Any line containing your specified text or pattern will be filtered out, leaving only the remaining lines.

Can I use regular expressions to filter lines?

Yes. Select the "Regular Expression" mode button. You can enter any standard JavaScript regex pattern (for example, "^\d{4}-\d{2}-\d{2}" to match lines starting with an ISO date, or "\[ERROR\]|\[FATAL\]" for multiple keywords).

Can I view the lines that were excluded?

Yes. Above the output panel, switch between the "Kept Lines" and "Excluded Lines" tabs to inspect or copy either dataset independently.

What is the difference between Contains, Starts With, and Exact Match?

"Contains" matches anywhere in the line. "Starts With" requires the line to begin with the query. "Exact Match" requires the line to match your query completely.

Are my logs or text uploaded to an external server?

No. Your input is processed directly in your browser and is not uploaded to Pinatool’s servers.