Find and Replace Text

Swap every copy of a word or phrase in one go, or replace a whole list of words at once. Click + to add more rows.

Add another word to replace

How to find and replace

  1. Paste your text into the top box.
  2. Type the word you want to change in Find, and the new word in Replace with.
  3. 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.
  4. Tick any options you need. The result updates as you type, and each row shows how many replacements it made.
  5. 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 doesFindReplace 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

Frequently asked questions

What does "Whole words only" mean?

It stops the tool from changing parts of longer words. With it ticked, replacing "cat" will not touch "category" or "concatenate".

What is regex?

Regex, short for regular expression, is a mini language for describing patterns. For example \d+ matches any number and ^ matches the start of a line. It lets you do things a normal search cannot, like removing every number from a text.

Can I replace text with a new line?

Yes. Tick "Use regex" and type \n in the Replace with box. You can also use \t for a tab.

Can I replace several different words at once?

Yes. Click the + button to add a row for each word. The rows run from top to bottom, and the status line shows the total number of replacements across all rows.

Can I delete words instead of replacing them?

Yes. Leave the Replace with box empty and every match is removed.