Find and Replace
Several rules at once, with regex support
Input
Replacement rules
Rules apply from top to bottom, each working on the result of the one above it.
Result
Nothing entered yet
Add your text and a rule, and the result appears here.
Editors let you replace one thing at a time. When you need to fix six things across a long document, running six passes is tedious and easy to get wrong. Add all the rules here and they run together, top to bottom.
How to use
- 1 Paste the text you want to change.
- 2 Add a rule with the text to find and what to replace it with.
- 3 Add more rules — they apply in order from top to bottom.
- 4 Turn on regex if you need patterns rather than literal text.
Frequently asked questions
What order do the rules run in?
Top to bottom, each one working on the result of the previous. So a later rule can match text that an earlier rule produced — worth remembering if the results surprise you.
How do I use capture groups in regex mode?
Write the pattern with parentheses and refer to the groups as $1, $2 and so on in the replacement. For example, finding (\w+)@(\w+) and replacing with $2 at $1 flips the two sides.
What does whole-word matching do?
It only matches when the text stands alone as a word. Searching for "cat" will not touch "category" or "concatenate".