Yes, you can find and replace text in Word, and it takes about 30 seconds to learn

Microsoft Word has a Find and Replace tool built into every version. You open it with Ctrl+H on Windows or Command+Option+F on Mac, type the text you want to find in one box and the replacement text in another, then click a button. Word will swap out one instance, all instances at once, or let you review each one before it changes.

The tool works on any text in your document — words, phrases, punctuation, even formatting like bold or italics. You can also use it to find text that matches a pattern (called a regular expression) if you turn on that option, which is useful for finding things like all phone numbers or all instances of two spaces in a row.

Key Takeaways

  • Open Find and Replace with Ctrl+H (Windows) or Command+Option+F (Mac), or go to the Home tab and click Replace.
  • Type the text you want to find in the "Find what" box and the replacement text in the "Replace with" box, then click Replace All to change everything at once.
  • Click Replace instead of Replace All if you want to review each change before Word makes it.
  • Use the arrow next to "More" to reveal options like "Match case" (uppercase and lowercase must match exactly) and "Find whole words only" (so "cat" won't match "catalog").
  • Regular expressions let you find patterns like any number or any punctuation mark, but you must turn on "Use regular expressions" in the More options first.

Opening Find and Replace and entering your search terms

Press Ctrl+H on Windows or Command+Option+F on Mac. The Find and Replace dialog box will open. You will see two text boxes: "Find what" at the top and "Replace with" below it.

Click in the "Find what" box and type the exact text you want to search for. If you are looking for the word "colour" to change it to "color", type "colour" here. If you want to find a phrase like "the quick brown fox", type the whole phrase. Word will search for that text exactly as you type it unless you turn on special options.

Click in the "Replace with" box and type what you want Word to put in place of the found text. For the colour example, you would type "color" here. Leave this box empty if you want to delete the found text instead of replacing it with something else.

Replacing one instance at a time or all at once

Once you have entered your search and replacement text, you have two main choices. Click Replace All to change every instance in the document at once. Word will tell you how many replacements it made. This is the fastest option when you are confident the replacement is correct everywhere.

Click Replace (not Replace All) if you want to review each change before it happens. Word will highlight the first match in your document. You can then click Replace to change that one instance and move to the next, or click Find Next to skip it without changing it. This takes longer but is safer when you are not sure every match should be replaced.

If you just want to find text without replacing it, use Ctrl+F (Windows) or Command+F (Mac) to open the simpler Find toolbar instead.

Using Match Case and Find Whole Words Only

Click the arrow next to More to reveal additional search options. Two of the most useful are "Match case" and "Find whole words only".

Match case means Word will only find text that has the same uppercase and lowercase letters as what you typed. If you search for "The" with Match case on, Word will find "The" but not "the" or "THE". This is useful when you want to change a proper noun or the start of a sentence without accidentally changing the same word in the middle of a sentence where it is lowercase.

Find whole words only means Word will only find your search text if it stands alone as a complete word. If you search for "cat" without this option, Word will find "cat", "catalog", "category", and "concatenate" — any word containing those letters in a row. With "Find whole words only" on, Word will find only the word "cat" by itself. This prevents accidental replacements inside longer words.

Using regular expressions to find patterns

If you need to find text that matches a pattern rather than exact text, you can use regular expressions. For example, you might want to find any phone number, any date, or any instance of two spaces in a row. Regular expressions are codes that represent patterns.

First, click More to expand the options. Then check the box next to Use regular expressions. Now you can type pattern codes in the "Find what" box instead of literal text. Common patterns include [0-9] (any single digit), [a-z] (any lowercase letter), . (any single character), and ^ (the start of a paragraph). The pattern {2,} (space, curly braces, 2, comma) finds two or more spaces in a row.

Regular expressions have a steep learning curve, so start with straightforward patterns. If you search for [0-9][0-9][0-9]-[0-9][0-9][0-9][0-9], Word will find any phone number in the format 555-1234. You can then replace all of them with a formatted version. Most people use regular expressions only when they have a specific, repetitive task in mind.

Common mistakes and how to avoid them

The most common mistake is clicking Replace All without reviewing what will change. If you are not certain your replacement is correct everywhere, click Replace instead and review each match. You can always undo the changes with Ctrl+Z if something goes wrong, but reviewing first is faster.

Another mistake is forgetting that Find and Replace is case-sensitive by default. If you search for "john" without turning on Match case, Word will find "john", "John", and "JOHN" and replace all of them with whatever you typed in the Replace box. If you only want to replace "John" (capitalized), turn on Match case first.

A third mistake is not realizing that your search text might appear inside other words. If you search for "read" to replace it with "understood", Word will also find and replace "read" inside "thread", "already", and "widespread". Use "Find whole words only" to prevent this.

Closing Find and Replace and undoing changes

Once you are done, close the Find and Replace dialog by clicking the X button in the top right corner or pressing Escape. Your replacements will stay in the document.

If you made a mistake and want to undo all the replacements you just made, press Ctrl+Z when ready. This will reverse the last action. If you made other edits after the replacement, you may need to press Ctrl+Z multiple times to get back to before the replacement happened. You can also use the Undo button in the top left corner of the ribbon, which shows a list of recent actions you can undo.

Frequently Asked Questions

Can I find and replace formatting like bold or italics?

Yes, but the steps vary by Word version. In newer versions, click More to expand options, then click Format under the "Find what" box. Choose the formatting you want to find (like Bold). Do the same under "Replace with" to specify what formatting the replacement text should have. In older versions, the Format button may be in a different location.

What if I want to find text but keep some of it in the replacement?

Use parentheses and the code ^1 in the Replace box. For example, if you search for (the) quick and replace with ^1 slow, Word will find "the quick" and replace it with "the slow", keeping the word "the". This requires regular expressions to be turned on. The parentheses capture the text, and ^1 means "put back the first captured group".

Can I search across multiple documents at once?

Not with the standard Find and Replace tool. You must open each document and run Find and Replace separately. However, if all your documents are in one folder, you can use the File menu to open the folder as a project in some Word versions, which may allow batch operations.

Why is Find and Replace not finding text I know is in the document?

Check whether you have Match case turned on — if you search for "John" with Match case on, it will not find "john" or "JOHN". Also check for extra spaces. If you search for "the " (with a space after it) but the document has two spaces after "the", Word will not find it. Try searching without the space, or use regular expressions to find multiple spaces.

Can I use Find and Replace in Word Online?

Yes. Press Ctrl+H to open Find and Replace in Word Online, just like the desktop version. The basic features work the same way, though some advanced options like regular expressions may not be available in all browsers or versions of Word Online.