Find and replace words

Section 6: For writers · For writers · 3 minute read

Find & Replace lets you search your document for a word or phrase, jump between each place it appears, and change it, one at a time or everywhere at once. It is useful for checking how often you use a word, correcting a name you spelled wrongly throughout, or changing one term for another. This article shows how to find text, step through the matches, and replace it.

Find a word or phrase

  1. Open your document in the editor.
  2. In the toolbar, click Find & Replace, or use its keyboard shortcut (hover over the button to see it).
  3. A bar opens above your document.
  4. Type the word or phrase you are looking for.
  5. Each place it appears is highlighted, and the bar shows how many matches there are.

Move between matches

  • Press Enter to go to the next match.
  • Press Shift + Enter to go to the previous match.

The current match is highlighted differently from the others, so you can see where you are.

Match capital letters exactly

By default, a search finds the text whatever its capital letters: searching for river also finds River.

To find only the exact capitals you typed, tick Match case. Then river finds river but not River.

Use Match case when the difference matters, for example with names, abbreviations or a word at the start of a sentence.

Replace text

  1. Find the text you want to change.
  2. In the replace box, type what should replace it.
  3. Choose one:
    • Replace changes the current match only, then moves to the next one;
    • All changes every match in the document at once.

Replace one at a time when only some matches should change. For example, if you are changing study to research, you may not want student or studying to change too.

Replace All when every match should change, such as a name misspelled throughout.

If a replacement goes wrong, click Undo, or press Ctrl+Z on Windows or Cmd+Z on a Mac, straight away.

Close Find & Replace

Press Escape, or click Find & Replace again. The highlighting disappears and you are back in your text.

Tips

  • Search for part of a word to find all its forms: analys finds analysis, analyse and analysed.
  • Include a space to avoid matching inside longer words: searching for art with a space after it skips article and start.
  • Check before Replace All. Step through the matches first with Enter, to make sure every one should change.