The Find and Replace tool lets you swap one word or phrase for another throughout your entire document at once
Microsoft Word's Find and Replace feature saves you from manually hunting through a document to change the same word repeatedly. Instead of scrolling through page after page to find every instance of "colour" and change it to "color", you can tell Word to do it in seconds. The tool works on single words, phrases, formatting, or even special characters.
You open Find and Replace through the Edit menu or by pressing Ctrl+H on Windows or Command+H on Mac. From there, you type what you want to find in one box and what you want to replace it with in another, then choose whether to replace one instance at a time or all of them at once.
Key Takeaways
- Press Ctrl+H (Windows) or Command+H (Mac) to open Find and Replace directly without using the menu.
- 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 so you can review each change.
- You can search for formatting (like bold or italic text) or special characters by clicking "More options" or "Format" depending on your Word version.
Opening Find and Replace in Word
The quickest way to open Find and Replace is the keyboard shortcut: press Ctrl+H if you are on Windows, or Command+H if you are on Mac. A dialog box will appear with two main fields: "Find what" at the top and "Replace with" below it.
If you prefer using the menu, go to the Edit menu (on Mac) or the Home tab (on Windows), then look for "Find & Replace" or "Replace". In newer versions of Word, you may see a "Find" button first — click the small arrow next to it to reveal the Replace option.
Entering your search and replacement text
Click in the "Find what" field and type the exact text you want to locate. If you are searching for a whole word only (so "cat" does not match "catalog"), check the box labeled "Match entire word only" before you search. This prevents accidental matches.
Next, click in the "Replace with" field and type what you want to replace it with. If you want to delete the text instead of replacing it with something else, leave this field blank and Word will remove every match. Then decide whether to replace one instance at a time or all of them.
Replacing one instance or all at once
Word gives you two main buttons: "Replace" and "Replace All". If you click "Replace", Word will highlight the first match and wait for you to confirm. You can then click "Replace" again to change that instance and move to the next one, or click "Find Next" to skip it without changing anything.
If you click "Replace All", Word will change every single match in your document without asking you to confirm each one. This is faster but riskier — if your search term matches something you did not intend to change, you will have to undo the whole operation. You can undo by pressing Ctrl+Z immediately after.
Searching for formatting or special characters
Word can also find and replace based on formatting, not just text. Click the "More options" button (or "Format" button in some versions) to expand the dialog. You will see checkboxes for bold, italic, underline, and other formatting styles. You can search for text that has a specific format and replace it with text in a different format.
To find special characters like paragraph marks, tabs, or line breaks, click "Special" (or look for a button with that label). A menu will show you codes you can type — for example, ^p represents a paragraph break and ^t represents a tab. Type the code in the "Find what" field just as you would type regular text.
Avoiding mistakes when replacing
Before you click "Replace All", consider using "Replace" one at a time for the first few matches. This lets you see whether Word is finding what you actually meant to find. A search that seems simple can sometimes match text you did not expect.
If you make a mistake, press Ctrl+Z immediately to undo the replacement. Word will restore your document to the state it was in before you clicked Replace All. If you have already closed the document or performed other actions, undo may not work — this is why reviewing a few matches first is worth the extra time.
Using Find and Replace with wildcards
For advanced searches, you can use wildcards — special symbols that match patterns rather than exact text. To turn on wildcards, click "More options" and check the box labeled "Use wildcards" or "Use regular expressions" (the exact name varies by Word version).
With wildcards enabled, you can search for patterns like "any digit" or "any letter". For example, the wildcard pattern [0-9] matches any single number, and .* matches any characters at all. This is useful when you need to find text that varies slightly — like all instances of a date format or a product code with a changing number. The Help menu in Word lists the wildcard codes you can use.
Frequently Asked Questions
Can I undo a Replace All if I made a mistake?
Yes, if you catch the mistake immediately. Press Ctrl+Z right after Replace All finishes, and Word will restore your document. If you have already closed the document or performed other actions since then, undo may not work — this is why reviewing a few matches with the "Replace" button first is safer for important documents.
What does "Match entire word only" do?
It prevents partial matches. Without it checked, searching for "cat" will also match "catalog" and "category". With it checked, Word will only find "cat" when it stands alone as a complete word. This is useful when you want to change a word without accidentally changing it inside other words.
Can I search for text with a specific font or color?
Yes. Click "More options" or "Format" to expand the dialog, then click the "Format" button. You can specify font, font size, color, and other formatting. Word will then find only text that matches both your search term and the formatting you selected.
What if I want to replace text only in part of my document?
Select the section of text you want to search first, then open Find and Replace. Word will search only within your selection. If you do not select anything, Find and Replace searches the entire document.
How do I find and replace a line break or paragraph mark?
Click "More options" or "Special" in the Find and Replace dialog. Look for the code that represents a paragraph mark (usually ^p) or line break (usually ^l). Type the code in the "Find what" field. You can replace paragraph marks with regular text, or vice versa, to reformat how your text is broken across lines.