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.

replace with empty delete

Leaving the right side blank means deleting. Deleting multiple words at once is faster than deleting them one by one.

Delete writing method

Leave the right side of the rule blank, and the hit content will be deleted directly.

The left and right characters will be connected. If you need to separate them, write a space.

How to write with spaces

Write a space on the right, and deleting the position will leave a gap.

Different rules can be set separately, and blanks and spaces can be mixed.

scope control

When you only want to delete part of the line, use a regular expression on the left to precisely define it.

The more specific it is, the less likely it is that content elsewhere will be accidentally deleted.

Result check

The result box is read-only, and the original text is retained and can be checked line by line.

If you find that you have deleted it by mistake, you will change the rules and rerun it. The original text will not be affected.

Applicable scenarios

Delete redundant annotations, clear fixed suffixes and suffixes, and remove batch-inserted numbers.

Clean up multiple words at once to avoid searching and deleting them one by one.

All keywords and tutorials 12

❓ FAQ

Can I delete only part of the row?
Can. Just use regular expressions on the left to precisely limit the range, for example, only match a certain prefix.
Can you see the effect clearly after deleting it?
Can. The result box is read-only, the original text is retained, and can be compared line by line.
Empty replacement of deleted checkpoints
The result is that the number of lines is consistent with the original text, and the target word no longer appears.