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.

Character replacement

The content to be replaced may only be one character, such as unifying one kind of punctuation in the full text into another.

📌 Typical usage of single character replacement

Single character replacement looks simple, but is actually very commonly used: unifying Chinese semicolons into commas, unifying wavy lines into dashes, unifying full-width brackets into half-width brackets, and replacing one list symbol with another. The common feature of these replacements is "big impact but small changes" - if one character is changed, the look and feel of the entire article will be unified. Because the matching range is large, it is best to do a small test run before operation to confirm that there are no accidental hits (for example, you want to replace "-" with "-", but there is a usage like "page-3" in the text).

  • Unify punctuation style (commends, semicolons, brackets)
  • Unify list symbols and delimiters
  • Replace special symbols with common symbols to facilitate subsequent processing

⚠️ Replacements with a large impact should be carried out on a small test run first.

If a single character appears frequently, the probability of accidental injury is also high. The safe approach is: first take a small representative piece of text (including various usages) and try to replace it to see if the result is in line with expectations; then process the entire article after confirmation. If you find that some positions should not be changed, write those contexts together with the old content, and use longer match strings to minimize the scope.

All keywords and tutorials 12

❓ FAQ

Can one character be replaced?
Yes, a single punctuation point or symbol can be used as matching content; because the hit range is large, it is recommended to test run a small section before processing the entire article.
Will the substitution change the symbols in the numbers?
Yes, literal matching does not distinguish between positions; if you don’t want to change it to numbers, please write the number context into the old content together, or protect it with placeholders first.
Can I only replace the content in a certain paragraph?
This tool takes effect on the entire paragraph; when processing only a part of it, please copy and replace that paragraph separately, and then paste it back into the original text.