Hongmu Notes

▶️ Text content batch replacement

Paste in the entire text, fill in the old content and new content, and replace all matching items with one click.

Text content batch replacement

Instructions for use

The first box at the top contains the entire text to be processed; the two boxes in the middle are filled with "Characters to be replaced" and "Characters after replacement" respectively. Leaving the latter blank means that the old content will be deleted directly; after clicking "Quick Replace", the result will appear at the bottom and can be copied with one click. Replacement matches exact words, is case-sensitive, and does not parse regular expressions; when the "character to be replaced" is empty, it will prompt and stop. All processing is completed locally in the browser and is not uploaded or retained.

✅ How to check after replacement

  • Search for old content in the results box. If you can't find it, it means the replacement is complete.
  • If there are still residues, check whether the uppercase and lowercase characters are consistent with the full-width and half-width characters.
  • Replacement is irrevocable. Please copy the original text for important text.

🔒 Data and privacy

The replacement is completed locally in the browser, and the input content and results are not uploaded or retained, and will be cleared when the page is refreshed. This tool only changes text and does not desensitize content. Content containing personal information must still be processed by yourself before sending it out.

Replace all

When there is no change after clicking Replace, the problem is almost always "the old content is not completely consistent with the original text".

📌 Four common reasons why substitutions don’t take effect

First, the capitalization is different: the original text is Abc, you filled in abc, so the literal match cannot be found. Second, full-width and half-width are different: the comma under the Chinese input method and the English comma are two different characters, and they are almost the same to the naked eye. Third, there are spaces or line breaks in the middle: there are line breaks in the middle of words that span lines, and direct matching will fail. Fourth, the original text itself contains redundant characters: copying from a web page often introduces non-breaking spaces. The troubleshooting method is very straightforward - copy the paragraph in the original text, paste it into the "Characters to be replaced" box, and let the tool ensure that it is completely consistent for you.

  • Different case →replace twice respectively
  • Full width and half width are different → Copied from the original text
  • Include a space or line break → write that paragraph together into the old content
  • With invisible characters → clean first and then replace

🧪 Verify that the replacement was actually performed

Set the "character to be replaced" to a word that must exist in the original text (such as "的"), leave the "character after replacement" blank and execute it once. If the word in the result disappears, it means that the replacement function is normal, and the problem lies in the way the old content is written; if it does not change, it means that the content in the input box and the result box are not empty, and the click does trigger the replacement. This method can quickly distinguish "tool problems" from "writing problems".

All keywords and tutorials 12

❓ FAQ

What should I do if there is no change after replacement?
Copy the paragraph you want to change in the original text directly into the "Characters to be replaced" box to make sure it is completely consistent; focus on checking the upper and lower case, full-width and half-width, and spaces.
How to quickly verify that the function is normal
Do a substitution test with words that must appear in the original text. If you can change it, it means that the function is normal. The problem lies in the way the old content is written.
Why is there no change after replacement?
Most likely the old content is not completely consistent with the original text: pay attention to capitalization, full-width and half-width, and whether there are spaces in between.