Text Filter with Regex

This online calculator splits lines of text using a regular expression.

The user enters the lines of text and a regular expression, and the calculator outputs two lists - the filtered lines that match the expression and the filtered lines that don't match. The user could then examine the results to gain insights into the data or take further action as needed.

The possible use cases:

  • Filter out log entries by their log level (error, warning, info, etc.).
  • Filter out rows from a data table based on certain criteria (for example, rows with certain values in a particular column).
  • Filter out text entries that contain email addresses or URLs.
  • Filter out specific words or phrases in a text file.

PLANETCALC, Matching lines with regular expression

Matching lines with regular expression

Matched
31
Not matched
1
The file is very large. Browser slowdown may occur during loading and creation.

Matches

Line numberLine
101.05.2016 00:00:00;01
201.05.2016 08:00:00;01
301.05.2016 09:00:00;01
401.05.2016 10:00:00;01
601.05.2016 19:55:00;01
701.05.2016 22:00:00;02
802.05.2016 00:00:00;02
902.05.2016 08:00:00;02
1002.05.2016 09:00:00;02
1102.05.2016 10:00:00;02
The file is very large. Browser slowdown may occur during loading and creation.

Mismatches

Line numberLine
501.05.2016 AA:00:00;01

URL copied to clipboard
PLANETCALC, Text Filter with Regex

Comments