✏️ 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.
Batch replacement of multiple contents
If you need to change more than a dozen words at a time, it is easiest to write the rules in a table.
Rule writing
Each line contains one "original text = new text", split according to the equal sign on the far left.
The equal sign can appear again in the new text without being truncated.
Execution method
All rules take effect in order from top to bottom.
The latter rule continues to match the text processed by the previous one.
Matching method
The left side of the equal sign is matched by a regular expression.
The right side of the equal sign is literal text, and the result is written as is.
Result processing
The result is just a copy of the text, leaving the original text and rule sheets unchanged.
You can repeatedly adjust the rules and run again, and then copy again when you are satisfied.
Applicable scenarios
Change names in batches, unify terminology, and replace internal codenames with official names.
Unify punctuation and writing methods at once to avoid replacing items one by one and missing changes.
All keywords and tutorials 12
❓ FAQ
- Do the rules affect each other?
- It will be accumulated in order, and the next one will continue to match the result of the previous one.
- Will the original text be changed?
- No. The result is just a copy, the original text and rule sheets always remain intact.
- Checking method for multi-rule replacement
- Check one by one: disassemble the rules and run them individually and compare them with the combined results.