Hongmu Notes

✏️ Batch replacement of multiple contents

Write multiple "original text = new text" rules at one time and replace them one by one.

Instructions for use

  • The rules are written as "original text = new text", one line per line, arranged from most to least length.
  • The left side matches according to regular rules; empty left side and illegal regular rules will prompt
  • Leaving the new article blank is equivalent to deleting the hit content.

Uniform replacement of punctuation marks

Mixing full-width and half-width will look confusing. It is most troublesome to use the rule table to unify them at once.

Common inconsistencies

Mix full-width and half-width values for periods, commas, and colons.

Quotes, brackets, and dashes are written inconsistently.

Rule writing

Write "Old Punctuation = New Punctuation" on each line to unify it category by category.

It is safer to write one rule on each side of a pair of symbols.

Pay attention to the order

Unify pairs of symbols first, and then unify single punctuation points to avoid accidental injuries.

When there are many rules, they will be processed in batches every twenty.

Chinese and English spaces

The spaces between Chinese and English can be unified together or deleted in batches.

Before deleting spaces, check whether it affects the code fragment.

Check method

After editing, read through the first and last paragraphs, focusing on whether the quotation marks are paired.

Search for old punctuation marks to make sure there are none left.

All keywords and tutorials 12

❓ FAQ

Can all quotation marks be changed to one type at once?
Yes. Write a rule for the left and right quotation marks respectively, and just unify them.
What should I do if there are too many punctuation points to finish?
Batch processing is performed every twenty items, and the results of multiple batches are consistent with one processing.