How to use the Find and Replace
- 1
Paste your text into the Text pane, or press Sample to load an example with ready-made rules.
- 2
Type what to find and what to replace it with. Choose Plain text for a literal match, Whole word to skip matches inside longer words, or Regex for patterns with groups.
- 3
Add more rules with Add rule. They run from top to bottom, each on the result of the one before, and the badge on each rule shows how many replacements it made.
- 4
Check the Preview pane, then press Apply (or Ctrl+Enter) to keep the result, or Copy and Download it directly.
- 5
Your rules are remembered on this device, so a cleanup you repeat every week is one paste away.
Features
- Several find and replace rules applied in order, each with its own mode and options
- Plain text, whole word and regular expression modes
- Case-sensitive matching per rule, plus multiline and dot-all flags in regex mode
- Regex replacements with $1, $<name> and $& references
- Line breaks and tabs in plain replacements with \n and \t
- Live preview with a replacement count per rule and clear errors for invalid patterns
- Rules saved on your device, with reorder, disable and remove
- Runs entirely in your browser; nothing is uploaded
Many replacements, one pass
Real cleanups rarely involve a single change. Renaming a company means its name, its email domain and its website. Tidying a data export means fixing date formats, removing a stray prefix and normalising separators. This tool lets you write each change as a rule, line them up, and watch the result update as you type, with a count beside each rule so you can see at a glance which ones did something.
Rules run top to bottom, and each sees the text produced by the rules above it. Order matters when rules overlap, and the arrows let you rearrange them. A rule can be disabled without being deleted, which is useful while you work out a tricky sequence.
Plain text, whole words and patterns
Plain text matches exactly what you type, with special characters treated literally, so a dot is just a dot. Whole word adds boundaries so that cat does not match inside category. Regex gives you the full power of JavaScript regular expressions with capture groups in the replacement. Invalid patterns are reported on the rule itself and skipped, so a typo never wipes your text.
Related tasks
To build and debug a pattern with live highlighting first, use the Regex Tester. To see exactly what your replacements changed, paste the before and after into the Text Diff Checker.
Frequently asked questions
How is this different from find and replace in my editor?
What does Whole word do?
How do I use regular expressions?
How do I insert a line break in the replacement?
Why did a later rule not match anything?
Is my text uploaded?
Last updated .