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 content in bulk

When there is more than one set of content to be changed, it is most stable to follow the rhythm of "replacing the content before changing the next set".

📌 Why do multiple group substitutions need to be done group by group?

When changing multiple sets of content at the same time, the order of replacement will affect the results and even interfere with each other. For example, if you want to change "Beijing City" to "Beijing" and "Beijing" to "京" at the same time, if you do it at once, whoever comes first will get completely different text, and you may also get strange results of repeated substitutions. The advantage of doing it separately is that you can see each step clearly: replace one group, check once, and then move on to the next group. If there is a problem, you can immediately locate which group caused it. This tool handles one group at a time, fitting this steady pace.

  • Avoid mutual interference and order ambiguity among multiple sets of rules
  • The results can be checked immediately after each group of substitutions
  • Put the previous set of results back into the input box to continue

🧭 Recommended steps for multiple group replacements

The first step is to make a copy of the original text and leave it at the bottom; the second step is to start replacing the "longest old content" (replace longer strings first, avoid short strings and change part of the long strings first); the third step is to copy the entire result back to the input box after each group is replaced, and then fill in the next group. If you do it in this order, it usually won't get longer and messier.

All keywords and tutorials 12

❓ FAQ

Can multiple sets of correspondences be pasted at one time?
No, the page processes one group at a time; please process multiple groups in sequence. After each group is completed, put the results back into the input box to continue.
Which group should be done first when replacing multiple groups?
Replace the longer old content first, and then replace the shorter content to avoid short strings having to change part of the long strings first.
Can I replace multiple sets of different content at once?
Process one group at a time; please replace multiple groups of content in sequence: after replacing one group, put the result back into the input box, and then fill in the next group of old and new content.