Hongmu Notes

✅ Text line preservation filter

Paste the text lines and fill in a keyword, and only keep the lines containing the keyword.

Text line preservation filter

Instructions for use

  • Fill in the keywords first, then paste the text lines, the results will be updated instantly
  • Only keep the lines containing keywords, and delete the rest of the lines.
  • All is done locally in the browser, and the input content will not be uploaded.

Contains keyword filter rows

Picking out lines related to a certain word from a large text is the most common action before debugging, reviewing and counting. This page only does one thing: hit and keep.

📌 How many rows can be processed at one time

The input box supports long text, and hundreds or even thousands of lines can be processed at one time by pasting; the judgment is a line-by-line string comparison, and only the hit lines are retained in the output, so the result is usually much shorter than the original text, making it easy to view one by one.

📌 Matching rules

Line-by-line judgment: If the keyword appears in the line, it will be retained as it is; if it does not appear, the entire line will be removed. The judgment is based on "line". The spaces at the beginning and end of the line do not affect the results. The order of the output is exactly the same as the original text, and there will be no rearrangement or deduplication. When the keyword is empty, you will be prompted to fill it in first to avoid outputting the entire text as a filter result.

🧭 What scenarios are it commonly used in?

Retrieving lines for a certain interface or a certain error level from the log, picking out words with a certain attribute from the vocabulary, and picking out entries with a certain prefix from the list are all typical scenarios of using keyword convergence ranges. The output can be directly pasted into the table. When another set of keywords is needed, filter again and merge the results.

All keywords and tutorials 12

❓ FAQ

What happens to rows without keywords
Entire lines are removed and will not be retained or replaced with blank lines, so the number of resulting lines will be reduced.
Will the results be rearranged?
Won't. The hit lines are output in the original order and can be compared line by line with the original text.
How to generally use filter rows containing keywords
Paste the log or text into the input box and fill in the keywords. All relevant lines will be in the result box. You can just copy them.