ExtraTools/lines

ROW FILTER BY TO CONTENT

ROW FILTER BY TO CONTENT

Filter lines by their content

Keep matching lines or remove them by searching for words, phrases, or Unicode regular expressions. Combine conditions with AND or OR.

Paste text and criteria, then review and copy the filtered lines.

Hides regular expressions, import conditions and second result list.
01 / SOURCE TEXT

Insert text line by line

02 / FILTER CONDITIONS

Which rows search?

Search conditions

Empty fields are ignored. You can search for words, phrases, or patterns.

What to do with matched lines?
Import a list of conditions

Split the list by lines or separator of your choice. Empty elements are removed and duplicates are merged.

Add a condition and click Apply filter."

How does the search work?
  • OR leaves/deletes a line if at least one non-empty condition matches. AND requires that all conditions on the same line match.
  • By default, the search is literal and case insensitive. Whole word mode supports Cyrillic, Latin, numbers and underscores.
  • In regular expression mode, each non-empty query is a separate JavaScript RegExp template with a Unicode flag. An incorrect template will show an error; If the search is too long, the search will stop automatically.
  • Browser field shows hyphens as LF. You can select LF, CRLF or CR; the “Copy” and “Download TXT” buttons save the selected result format.
  • List can be imported lines, separated by commas, semicolons, tabs or your own delimiter. The result can be limited by processing time and number of lines.
03 / RESULT

Filtered text

Result statistics

Characters0Unicode graphemes, including spaces
Without spaces0all whitespace is excluded
Words0Cyrillic and English
Lines0empty text — 0 lines

Characters are counted by Unicode graphemes. "No spaces" excludes spaces, tabs, and all line breaks. Statistics refer to the main result.

Text string filter capabilities

Add one or more conditions, select the OR (any condition matches) or AND (all conditions must match) and specify what to do with the found rows: remove matches or leave them. The default search is literal and case insensitive.

  • search for words and phrases with support for Cyrillic, Latin and Unicode;
  • search for whole words, case sensitivity and JavaScript-regular expressions;
  • Import conditions with a list and automatically stop a search that takes too long;
  • separate list of discarded lines, undo, edit, copy and TXT export.

Simplified mode leaves the normal search and hides advanced settings.

How filter strings

Simplified mode leaves the basic search and filtering options, hiding regex, import and additional settings.

Check the condition