The Find and Replace tool lets you search for specific words or phrases and swap them out for something else throughout your entire document

Microsoft Word's Find and Replace feature saves you from manually hunting through a document to change the same word over and over. You can replace one instance at a time, or swap out every occurrence in seconds. The tool also lets you search for specific formatting, like bold text or a particular font, and replace that formatting across your whole document.

You reach Find and Replace through the Home tab or with the keyboard shortcut Ctrl+H (on Windows) or Command+H (on Mac). Once it opens, you type what you're looking for in the "Find" field and what you want instead in the "Replace" field, then choose whether to change one instance or all of them.

Key Takeaways

  • Open Find and Replace by pressing Ctrl+H on Windows or Command+H on Mac, or by clicking the Home tab and selecting Replace.
  • Type the text you want to find in the "Find what" field and the replacement text in the "Replace with" field.
  • Click "Replace All" to change every instance at once, or "Replace" to change them one at a time and skip any you want to keep.
  • You can search for formatting, line breaks, or paragraph marks by clicking "More options" or "Format" to expand the search beyond plain text.
  • Word shows you how many replacements it made so you can verify the change worked the way you intended.

Opening Find and Replace and entering your search terms

The fastest way to open Find and Replace is to press Ctrl+H if you're on Windows, or Command+H on a Mac. If you prefer using the menu, click the Home tab at the top of Word, then look for the Replace button in the Editing group on the right side of the ribbon. Click it and select Replace from the dropdown.

Once the Find and Replace dialog box opens, you'll see two main fields. Type the word or phrase you want to find in the "Find what" field. Then click in the "Replace with" field and type what you want to replace it with. If you're replacing a word with nothing (deleting it), leave the "Replace with" field empty.

Word is case-sensitive by default, meaning it treats "Word" and "word" as different. If you want to find both uppercase and lowercase versions of the same word, click More options (or Options on Mac) to expand the dialog, then uncheck the box next to "Match case".

Replacing one instance or all instances at once

After you've entered your search and replacement text, you have two choices. Click "Replace All" to change every instance of the word throughout your entire document in one action. Word will tell you how many replacements it made at the bottom of the dialog box. This is useful when you've used the wrong term throughout a long document and want to fix it everywhere at once.

If you want more control, click "Find Next" first to locate the first instance. Word will highlight it in your document. Then click "Replace" to change just that one, or click "Find Next" again to skip it and move to the next occurrence. This approach lets you decide case by case whether each instance should be changed.

A common mistake is clicking "Replace All" without checking your search term first. If you mistype something in the "Find what" field, you could accidentally replace text you didn't mean to. Always do a "Find Next" first to make sure Word is finding what you actually want to change.

Searching for formatting instead of just text

Find and Replace can search for more than just words. You can find text that has specific formatting — like bold, italic, a particular font, or a certain font size — and replace it with different formatting. Click "More options" to expand the dialog, then click the "Format" button at the bottom.

A submenu will appear with options like Font, Paragraph, and Style. Select what you want to search for. For example, if you want to find all bold text and change it to regular text, click Format, then Font, then check the Bold box. In the "Replace with" field, click Format again and select Font, but this time leave Bold unchecked. Then click "Replace All."

You can also search for special characters like paragraph marks or line breaks. In the expanded dialog, look for a button labeled "Special" (Windows) or use the "^p" code for paragraph breaks and "^l" for line breaks in the search field itself.

Undoing a replacement if something went wrong

If you click "Replace All" and realize the replacement wasn't what you wanted, you can undo it immediately. Press Ctrl+Z on Windows or Command+Z on Mac to reverse the last action. Word will restore your document to the way it was before the replacement.

This is why it's a good idea to save your document before doing a large "Replace All" operation. That way, if something unexpected happens, you can close the file without saving and reopen the last saved version. You can only undo replacements that you've just made — if you close the document and reopen it, the undo history is gone.

Searching within a specific section or selection

By default, Find and Replace searches your entire document. If you only want to search a specific part, select that text first before opening Find and Replace. Highlight the section you want to search, then press Ctrl+H. Word will limit the search to just that selection.

This is useful in long documents where you want to change a word in one chapter but not another, or when you're working on a shared document and only want to modify your own section. After you close the Find and Replace dialog, the selection will be deselected, and your document will return to normal.

Using wildcards and special codes for advanced searches

If you need to find text that follows a pattern — like any number, or any word that starts with a certain letter — you can use wildcards. Click "More options" to expand the dialog, then check the box next to "Use wildcards" (Windows) or "Use regular expressions" (Mac).

Common wildcard codes include .* to find any character, [0-9] to find any single digit, and ^p to find a paragraph break. For example, if you want to find any three-digit number and replace it with the word "number," you'd search for [0-9]{3} and replace it with "number." Wildcards are powerful but take practice — start with simple searches before trying complex patterns.

Frequently Asked Questions

Can I search for text across multiple Word documents at once?

No, Find and Replace only works within the document you currently have open. If you need to change text in multiple files, you'll need to open each one and run Find and Replace separately. Some third-party tools can search across multiple files, but Word's built-in feature does not.

What does "Match case" do?

When "Match case" is checked, Word treats uppercase and lowercase letters as different. Searching for "Word" will not find "word" or "WORD." Unchecking this box makes the search ignore case, so it finds all versions. This is useful when you want to replace a word no matter how it's capitalized.

Can I replace text with a line break or paragraph mark?

Yes. In the "Replace with" field, type ^l (lowercase L) for a line break or ^p for a paragraph break. Make sure "Use wildcards" is unchecked when you do this, or the codes won't work. This is helpful if you need to split text across multiple lines or paragraphs.

What if I want to find a word only when it stands alone, not as part of another word?

Click "More options" and check the box next to "Match entire word only". This ensures that searching for "read" won't find "reading" or "thread." It's useful when you want to replace a specific word without accidentally changing words that contain it.

Does Find and Replace work in headers, footers, and text boxes?

Yes, Find and Replace searches the entire document, including headers, footers, footnotes, and text boxes. If you only want to search the main body text, you'll need to manually edit those other areas or select just the body before opening Find and Replace.