sodcalculator

10 Tech How-To

Find and Replace Words in Word & Google Docs

Guide 10-47223 · Updated · Step by step

This guide shows you how to use the find and replace feature in both Microsoft Word and Google Docs to quickly swap out words, phrases, or formatting across an entire document. You’ll learn the exact menu paths, keyboard shortcuts, and options for each app, plus how to avoid common pitfalls like accidentally replacing text in headers or footers.

What You’ll Need

  • A document open in Microsoft Word (desktop, web, or mobile) or Google Docs (web or mobile).
  • The exact word or phrase you want to find (or at least a close approximation – you can use wildcards in Word).
  • The replacement text you want to use.
  • Basic familiarity with your document’s layout (so you know whether you want to replace in the main body, headers, footers, or all).

Step-by-Step

Microsoft Word (Desktop – Windows or Mac)

  1. Open the Find and Replace dialog. Press Ctrl+H on Windows or Cmd+H on Mac. Alternatively, go to the Home tab, click the Replace button (it’s in the Editing group on the far right).
  2. Enter the text to find. In the Find what box, type the exact word or phrase you want to locate. Be careful with capitalization – by default, Word is case-sensitive unless you change the settings.
  3. Enter the replacement text. In the Replace with box, type what you want to swap in.
  4. Choose your scope. If you want to replace everything at once, click Replace All. To review each occurrence, click Find Next then Replace for each one. If you only want to replace in a specific section, select that text first – Word will then ask if you want to search just the selection or the whole document.
  5. Use advanced options (optional). Click More >> to access options like Match case (exact capitalization), Find whole words only (so “cat” doesn’t match “catalog”), Use wildcards (for patterns like s?t to find “set” and “sit”), and Sounds like (to find similar-sounding words).
  6. Check the result. After clicking Replace All, Word will show a message telling you how many replacements were made. Review the document to ensure the changes are correct.

Microsoft Word (Web Version)

  1. Open the Find and Replace panel. Click Edit in the top menu, then select Find and Replace. Or press Ctrl+H (Windows) / Cmd+H (Mac).
  2. Type your search term in the Find box and the replacement in the Replace with box.
  3. Click Replace All or use the arrows to go through each match individually.
  4. Note: The web version has fewer advanced options than the desktop app – you won’t find wildcards or sounds-like, but you can still match case and whole words via the gear icon.

Google Docs (Web)

  1. Open the Find and Replace dialog. Press Ctrl+H (Windows) or Cmd+H (Mac). Alternatively, go to Edit > Find and replace.
  2. Enter the text to find. Type the exact phrase in the Find field.
  3. Enter the replacement. Type the new text in the Replace with field.
  4. Adjust options. Check the boxes for Match case (to respect capitalization) and Match using regular expressions (if you want to use regex patterns – useful for complex searches like \d{3} to find three-digit numbers). You can also choose to search All or just the Current document (if you have multiple documents open).
  5. Click Replace All to change every instance, or use Previous/Next and Replace to go one by one.
  6. Review the summary. Google Docs will show a small pop-up confirming how many replacements were made.

Google Docs (Mobile App – Android/iOS)

  1. Tap the three-dot menu (⋯) in the top-right corner.
  2. Select Find and replace.
  3. Enter your search term and the replacement text.
  4. Tap the magnifying glass icon to see matches, then tap Replace or Replace all.

Common Mistakes

  • Replacing partial words. If you search for “cat” and replace with “dog”, you’ll turn “catalog” into “dogalog”. Always use the Find whole words only option (Word) or check the word boundaries in your regex (Google Docs).
  • Ignoring case. Searching for “apple” will not match “Apple” unless you enable Match case in Word or Google Docs. Decide whether you want case-sensitive matches.
  • Replacing in headers/footers without realizing. In Word, the default search includes headers and footers. If you only want the main body, select the body text first and choose “Current selection” when prompted.
  • Accidentally replacing in comments or footnotes. Word’s find and replace can also affect text in comments, footnotes, and endnotes. Check the Search dropdown in the advanced options to limit the scope.
  • Using the wrong shortcut. Ctrl+F opens the Find pane (not replace). Ctrl+H is the correct shortcut for replace in both Word and Google Docs.
  • Not reviewing before replacing all. Even with perfect settings, a word may have multiple meanings. Always do a quick scan after Replace All.

Tips

  • Use wildcards in Word for flexible patterns. For example, to find all words ending in “ing”, use *ing with the Use wildcards option. To find any three-letter word, use ???.
  • Use regular expressions in Google Docs. Check the Match using regular expressions box to use patterns like ^The to find lines starting with “The”, or \bcat\b to match the whole word “cat”.
  • Replace formatting, not just text. In Word, you can leave the “Find what” box empty and set the format (via the Format button) to find all text with a specific font, color, or style, then replace it with another format. In Google Docs, you can’t do this directly – you’d need to use an add-on or manually select.
  • Use Replace All, but check the count. Both apps tell you how many replacements were made. If the number seems too high, undo (Ctrl+Z) and adjust your search terms.
  • Save a backup before mass replacement. Especially if you’re doing a complex regex or wildcard search, it’s wise to save a copy of your document first.
  • For long documents, use Find Next first. It lets you see each match in context and decide whether to replace it or skip it.

Troubleshooting

  • Nothing is found. Check that you haven’t accidentally enabled Match case or Find whole words only when you didn’t intend to. Also, make sure you’re searching in the right direction (up or down) – the default is down from the cursor, but you can change it to “All” in Word.
  • Replace All doesn’t work. If the button is grayed out, you might have a selection that doesn’t include the text, or the document is protected. In Word, check if the document is in “Read-Only” mode. In Google Docs, make sure you have edit permissions.
  • It replaces too much. Undo (Ctrl+Z) immediately. Then refine your search: add more context (e.g., search for “the cat” instead of “cat”), enable whole-word matching, or use case-sensitive matching.
  • Can’t find the replace option. In Word, if you don’t see the Replace button on the Home tab, you might be in a simplified view – click the small arrow in the Editing group to expand it. In Google Docs, it’s always under Edit > Find and replace.
  • Special characters not working. In Word, to find a paragraph mark or tab, you need to use the special characters from the Special dropdown (e.g., ^p for paragraph, ^t for tab). In Google Docs, you can use regex: \n for newline, \t for tab.
  • Replacing in headers/footers doesn’t work. In Word, if you’re in the main body, headers/footers are separate. You need to double-click the header/footer area to activate it, then use find and replace there. In Google Docs, headers and footers are part of the main document, so they should be included.

Frequently Asked Questions

Can I use find and replace to change formatting (like font color) in Google Docs?

No, Google Docs’ built-in find and replace only handles text. You can use add-ons like “Find and Replace” or “Power Tools” to change formatting, but the native feature doesn’t support it.

Does find and replace work in headers and footers?

In Word, yes, but you need to be aware that the default search includes them. To limit to the body, select the body text first. In Google Docs, headers and footers are part of the document, so they are included by default.

Can I undo a replace all?

Yes, you can press Ctrl+Z (or Cmd+Z on Mac) immediately after to undo the last replace all action. If you’ve done other actions since, you may need to undo multiple times.

How do I replace a word with a different case (e.g., “cat” to “CAT”)?

Simply type the replacement in the desired case. If you want to match the original case exactly, you’ll need to do it manually or use a macro (in Word) because both apps treat case as literal unless you use regex.

Why does Word find text that isn’t in my document?

This can happen if the text is in a comment, footnote, or hidden text. Check the Search dropdown in Word’s advanced options and select “Main Document” to exclude those areas.

Can I replace text across multiple documents at once?

No, both Word and Google Docs only operate on the current document. For Word, you could use a macro to loop through files, but that’s advanced. For Google Docs, you’d need to open each document individually.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →