How to find and replace
- Paste your text into the top box.
- Type the word you want to change in Find, and the new word in Replace with.
- Need to change more words? Click the + button (or press Enter in the last Replace with box) to add another row. Remove a row with its × button.
- Tick any options you need. The result updates as you type, and each row shows how many replacements it made.
- Copy the result.
Replacing several words at once
Each row is applied in order, from top to bottom, and works on the text left by the rows above it. That makes it easy to clean up a document in one pass, for example changing "colour" to "color", "centre" to "center" and "organise" to "organize" together.
Because the rows run in order, swapping two words needs a small trick. To swap "cats" and "dogs", use three rows: "cats" to "TEMP", then "dogs" to "cats", then "TEMP" to "dogs". If you used only two rows, every word would end up as "cats".
Handy regex patterns
Tick Use regex to use these. Copy the pattern into Find and the replacement into Replace with.
| What it does | Find | Replace with |
|---|---|---|
| Remove all numbers | \d+ | (empty) |
| Put each word on its own line | \s+ | \n |
| Add a bullet to every line | ^ | • |
| Remove HTML tags | <[^>]+> | (empty) |
| Swap "Last, First" to "First Last" | (\w+), (\w+) | $2 $1 |
| Remove empty lines | ^\s*\n | (empty) |
In regex mode, ^ and $ match the start and end of every line, so patterns like the bullet example work on the whole list at once.
Everyday examples
- Update a product name across a long description after a rebrand.
- Change "colour" to "color" when switching between British and American spelling.
- Replace a placeholder like [NAME] with a real name in a template letter.
- Swap commas for semicolons when preparing data for a CSV import.