Open the Find and Replace dialog

The fastest way to open Find and Replace is to press Ctrl+H on your keyboard (or Cmd+H on Mac). A dialog box will appear with two text fields: one labeled "Find" and one labeled "Replace With". This is where you type the text you want to change and what you want to change it to.

If you prefer using the menu, go to the Home tab at the top of Word, then click the arrow next to the magnifying glass icon in the toolbar. Select Replace from the dropdown. Either method opens the same dialog.

Key Takeaways

  • Press Ctrl+H to open Find and Replace, then type the text you want to find in the first field and the replacement text in the second field.
  • Click Replace All to change every instance at once, or Replace to change them one at a time and review each change.
  • Use Match Case if you need to distinguish between uppercase and lowercase letters, such as replacing "John" but not "john".
  • The More Options button reveals advanced features like searching for whole words only or using wildcards for partial matches.
  • Word shows you how many replacements it made after you finish, so you can undo the entire operation if something went wrong.

Type what you want to find and what to replace it with

In the Find field, type the exact text you want to locate. In the Replace With field, type what you want it to become. For example, if you typed "teh" throughout your document and want to fix it to "the", you would type "teh" in Find and "the" in Replace With.

Leave the Replace With field empty if you want to delete text instead of replacing it. This is useful if you have extra spaces, repeated words, or formatting marks you want to remove entirely.

Replace one at a time or all at once

After you enter your search terms, you have two choices. Click Replace All to change every single instance in your document when ready. Word will tell you how many replacements it made. This is fast but risky if you are not completely sure the replacement is correct everywhere.

Click Replace (without the "All") to change one instance at a time. Word will highlight the first match, and you can decide whether to replace it or skip it and move to the next one. After you click Replace, Word automatically moves to the next match. This takes longer but gives you control and lets you catch mistakes before they spread through your whole document.

If you make a mistake, press Ctrl+Z when ready to undo. Word will reverse the entire Replace All operation or the last single replacement.

Use Match Case to distinguish between uppercase and lowercase

By default, Find and Replace ignores whether letters are uppercase or lowercase. If you search for "john", it will find "John", "JOHN", and "john" all the same way. Sometimes this is what you want, but sometimes it is not.

Click the More Options button to expand the dialog. Check the box next to Match Case if you need to find only exact matches. Now searching for "john" will find only lowercase "john" and will skip "John" or "JOHN". This is useful when you need to replace a name or a technical term that must stay in a specific case.

Search for whole words only

If you search for "cat" without any restrictions, Find and Replace will also find "cat" inside words like "catalog" or "concatenate". If you only want to replace the word "cat" by itself, click More Options and check Find whole words only.

This prevents accidental replacements inside longer words. For example, if you want to replace every instance of "read" with "review", turning on whole words only makes sure you do not accidentally change "thread" to "threview".

Use wildcards for partial or pattern-based matches

The Find and Replace tool can search for patterns, not just exact text. Click More Options, then check the box for Use wildcards. This unlocks special symbols that represent unknown characters or groups of characters.

The most common wildcard is the period (.), which stands for any single character. For example, searching for "c.t" would find "cat", "cot", "cut", and "cit" all at once. The asterisk (*) means "zero or more of the previous character", so "ca*t" finds "cat", "caat", "caaat", and so on. These patterns are powerful but take practice. Start with straightforward searches and test on a copy of your document before using them on your final version.

Review the results and undo if needed

After you click Replace All, Word displays a message showing exactly how many replacements were made. Read this number carefully. If it seems too high or too low, that is a sign something went wrong. Press Ctrl+Z when ready to undo and try again with different search terms.

If you used Replace one at a time, close the Find and Replace dialog when you are done and scroll through your document to spot-check the changes. This takes a few minutes but catches errors that Replace All might have missed. Word keeps the Find and Replace dialog open until you close it, so you can make adjustments and search again without reopening it.

Frequently Asked Questions

Can I search for line breaks or paragraph marks?

Yes. Click More Options, then look for Special. A dropdown menu shows codes for paragraph marks, line breaks, tabs, and other invisible characters. Select the one you need and it will appear in your Find field as a code like ^p for paragraph or ^l for line break. You can then replace these with text or other special characters.

What if Find and Replace says "Search key not found"?

This means the text you typed in the Find field does not exist anywhere in your document. Check for typos, extra spaces, or mismatched capitalization. If you have Match Case turned on, try turning it off. If you are searching for a special character or formatting, make sure you used the Special menu to insert the correct code.

Can I replace formatting, not just text?

Yes, but it requires the More Options menu. Click Format at the bottom of the expanded dialog to specify formatting like bold, italic, font color, or font size. You can search for text with specific formatting and replace it with text in different formatting. This is advanced and takes practice to use correctly.

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

Find and Replace searches the main body of your document by default. To search headers and footers, you must open them first by double-clicking at the top or bottom of a page. Text boxes and shapes are not searched automatically, so you may need to edit them separately.

Can I undo a Replace All if I close the document without saving?

No. Once you close Word without saving, the undo history is gone. Always save your document before doing a large Replace All operation, or save a backup copy first. If something goes wrong, you can close without saving and reopen the backup.