Hongmu Notes

🚫 Text line exclusion filter

Paste the text line and fill in a keyword, and the line containing the keyword will be deleted.

Text line exclusion filter

Instructions for use

  • Fill in the keywords first, then paste the text lines, the results will be updated instantly
  • Lines containing keywords will be deleted as a whole, and the remaining lines will remain unchanged.
  • All is done locally in the browser, and the input content will not be uploaded.

What can this tool do?

  • Eliminate lines containing keywords line by line, keeping only the remaining lines
  • When the input and keywords change, the results are updated immediately, no need to click the button repeatedly.
  • The output maintains the original row order, one row per row, and gives the number of retained rows.
  • The entire process is processed locally in the browser, and the text is not uploaded.

Actual measurement effect

Enter text lineKeywordsoutputNumber of items
abcd
123abc
12345
abc123451
abc
def
abcd
abcdef1

Lines containing keywords will be deleted as a whole, and lines without keywords will be retained as they are, in the same order.

Usage tips

  • The input box has one line per line, and the judgment is based on line units.
  • English keywords are case-sensitive, please note that they are written in the same way as the original text.
  • Empty lines will be retained. If you need to clear the empty lines, please use the Delete Empty Lines tool.

All keywords and tutorials 12

❓ FAQ

How is it sifted?
Line-by-line judgment: Only lines "without keywords" are retained, lines containing keywords are eliminated, and the output maintains the original line order.
Can I fill in multiple keywords?
Fill in one keyword at a time; when you need to exclude multiple words, screen the results of the previous step again to tighten them one by one.
Is it case sensitive?
Distinguish. English is matched as is, and ABC and abc will be treated as two different keywords.
Will blank lines be deleted?
No. Blank lines do not contain keywords and will be retained as they are; if you need to clean up blank lines, please use a special blank line deletion tool.