πŸ”ŽFilter Text

πŸ” Filter Text

The Filter Text tool allows you to process large blocks of text by isolating or excluding lines based on a matching pattern. Whether you're scrubbing data, pulling emails, or filtering keywords, this tool offers both basic pattern search and advanced RegEx support to meet your needs.


🎯 Use Case Examples

  • 🧹 Removing irrelevant lines from logs, dumps, or exports

  • βœ‰οΈ Filtering for lines containing email addresses or domains

  • πŸͺͺ Extracting phone numbers, names, or keywords

  • πŸ”Ž Isolating specific order IDs or string patterns from raw input

  • ❌ Removing duplicates or reversed filter results for clean outputs


βš™οΈ Main Controls

πŸŸͺ Input Text

Paste any block of text β€” this is your raw data source. Each line is evaluated independently.

πŸŸͺ Output (Text Fragment)

This section shows your filtered results after applying the settings.


🧠 Filtering Modes

🟣 Pattern Matching (default)

Enter a simple pattern such as a word, number, or phrase. The tool returns only lines that contain that pattern.

Example: Enter @gmail.com to show only Gmail addresses.

🟣 Regular Expression (RegEx)

Toggle this on for powerful pattern-based filtering using RegEx syntax.

Example: Use ^\d{4,} to extract lines starting with 4+ digits.


🧰 Additional Toggles

πŸ” Remove Duplicate Lines

Enables deduplication of matching results β€” only unique lines will be kept.

↩️ Reverse Filter Mode

Inverts the filtering logic. Instead of matching your pattern, it shows lines that do not match the given input.

Useful when cleaning out known values and keeping the rest.


πŸ§ͺ Sample Scenarios

Input Line
Pattern
Mode
Result

abc@gmail.com

@gmail.com

Pattern Matching

βœ… Keep

xyz@yahoo.com

@gmail.com

Pattern Matching

❌ Discard

Order #93827

^\d

RegEx

❌ Discard

12345ABC

^\d

RegEx

βœ… Keep


πŸ’‘ Pro Tips

🧠 Use simple words for basic searches and RegEx for complex structures πŸŒ€ Combine "Reverse Filter" with RegEx to scrub out spam patterns πŸ“‹ Use Remove Duplicate Lines to clean up form submissions, lists, or database dumps πŸ› οΈ The tool works best with one entry per line (CSV, TXT, JSON Lines)

Last updated