Filter your text by keeping or removing lines that contain specific text or patterns

Contains text: Matches lines where the specified text appears anywhere.Exact match: Matches only lines that are identical to the filter text.Starts with: Matches lines beginning with the filter text.Ends with: Matches lines ending with the filter text.Regular expression: Use powerful regex patterns for complex matching (e.g., ^Error.*\d{4}$).Case sensitive matching: Check this to distinguish between uppercase and lowercase letters.Invert match: Check this to reverse the logic (e.g., keep lines that do NOT match your criteria).Original Log:INFO: User login successful for alice
ERROR: Database connection failed at 14:30
INFO: File uploaded successfully
WARNING: High memory usage detected
ERROR: Authentication timeout for user bob
Goal: Extract only the error messages for analysis.
Setup: Enter "ERROR:" in the match field. Choose Action: Keep matching lines and Match type: Starts with. Click "Filter Text".
Result:ERROR: Database connection failed at 14:30
ERROR: Authentication timeout for user bob
All processing occurs directly within your web browser using JavaScript. Your text data is never sent to our servers, ensuring complete privacy and security. You can use this tool confidently with sensitive information like logs, lists, or code.
Yes. Simply enter each word or phrase on a new line in the "Text to match" field. The tool will treat each line as a separate filter criterion. For example, entering "error" and "warning" on separate lines will match any line containing either term (based on your selected match type).
The "Invert match" option flips the logic of your filter. If you choose "Keep matching lines" and check "Invert match," the tool will instead keep all lines that do not match your criteria. This is useful for tasks like removing all lines except those containing a specific header or tag.