The fastest way to find and replace text in Word

Open the Find & Replace dialog by pressing Ctrl+H on Windows or Command+Option+F on Mac. 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 click "Replace" to change them one at a time and review each match before it changes.

If you only need to find text without replacing it, press Ctrl+F (Windows) or Command+F (Mac) to open the simpler Find pane on the right side of your screen. This is useful when you just want to locate something or count how many times a word appears in your document.

Key Takeaways

  • Press Ctrl+H (Windows) or Command+Option+F (Mac) to open Find & Replace and change multiple instances of text at once.
  • Use "Replace All" to change every match in the document, or "Replace" to go through each one individually and decide whether to change it.
  • The "Match case" option makes the search case-sensitive, so "Word" and "word" are treated as different.
  • You can search for special characters like paragraph marks (^p) and tabs (^t) by turning on "Use wildcards" or "Regular expressions" depending on your Word version.
  • Word highlights all matches in yellow as you search, making it straightforward to see where your text appears in the document.

Opening Find & Replace and entering your search terms

The Find & Replace dialog is the same tool whether you are on Windows or Mac, though the keyboard shortcut differs. On Windows, press Ctrl+H. On Mac, press Command+Option+F. You can also reach it through the menu: click the "Home" tab, then in the "Editing" group on the right side of the ribbon, click "Find & Replace".

Once the dialog opens, you will see two text boxes stacked vertically. The top one says "Find what" — type the exact text you want to search for here. The bottom one says "Replace with" — type what you want it to become. If you want to remove text entirely, leave "Replace with" blank and click "Replace All".

Word will begin searching from wherever your cursor is positioned. If you want to search the entire document from the beginning, move your cursor to the start before opening Find & Replace, or use Ctrl+Home to jump to the top.

Choosing between Replace All and Replace one at a time

"Replace All" changes every match in the document when ready. This is fastest when you are certain the replacement is correct everywhere — for example, fixing a misspelled name that appears throughout a report. Word will tell you how many replacements it made in a message box.

Use the "Replace" button (not "Replace All") when you want to review each match before it changes. This is safer when the same word might mean different things in different places. For instance, if you search for "bank," you might want to replace it with "financial institution" in some places but leave it alone where it means the side of a river. Click "Replace" to change the current match, or "Find Next" to skip it and move to the next one.

If you make a mistake, press Ctrl+Z when ready after a "Replace All" to undo all the changes at once.

Making your search more precise with options

The Find & Replace dialog has several checkboxes that narrow or broaden your search. Click "More Options" or "Options" (depending on your Word version) to see them all.

Match case makes the search case-sensitive. If you check this box and search for "Word," it will find "Word" but not "word" or "WORD." This is useful when you need to replace a proper noun but leave the lowercase version alone.

Find whole words only prevents partial matches. If you search for "read" without this option, it will also match "reading" and "reader." With the option on, it matches only the word "read" by itself.

Use wildcards or Regular expressions (the name varies by Word version) lets you search for patterns instead of exact text. For example, you can search for any number, any letter, or text that starts or ends a certain way. This is an advanced feature; most everyday replacements do not need it.

Searching for special characters and formatting

You can find and replace things that are not visible text, like paragraph marks, tabs, and line breaks. In the "Find what" field, type the code for what you are looking for. Common codes are ^p for a paragraph mark, ^t for a tab, and ^n for a line break. You must have "Use wildcards" or "Regular expressions" turned on for these codes to work — check your Word version's documentation to see which one applies.

For example, if you have extra blank lines between paragraphs and want to remove them, search for ^p^p (two paragraph marks in a row) and replace with ^p (one paragraph mark). Click "Replace All" to clean up the whole document at once.

You can also search by formatting. Click the "Format" button in the Find & Replace dialog to specify that you want to find text that is bold, italic, underlined, or in a certain font or color. This is useful when you want to change the formatting of specific words throughout the document.

What to do if Find & Replace is not finding what you expect

If your search returns no results, check whether you have accidentally turned on "Match case" or "Find whole words only." These options can hide matches you did not expect to exclude. Also verify that you typed the search term correctly — a single extra space or typo will prevent matches.

If you are searching for text that spans multiple paragraphs or lines, you may need to include the paragraph mark code (^p) in your search. For instance, to find text that has a line break in the middle, search for the first part, then ^p, then the second part.

Word searches only the current document. If you have multiple documents open and need to search across all of them, you will need to open Find & Replace in each document separately or use a different tool like Windows File Explorer's search feature.

Using Find without replacing

If you only want to locate text without changing it, press Ctrl+F (Windows) or Command+F (Mac). This opens a simpler Find pane on the right side of the screen instead of the full Find & Replace dialog. Type your search term and Word will highlight all matches in the document in yellow.

The Find pane is useful for navigating through a long document. Click the down arrow to jump to the next match, or the up arrow to go back to the previous one. You can also count how many times a word appears by looking at the counter that says "X of Y" as you move through the matches.

Close the Find pane by pressing Escape or clicking the X button in the top right corner of the pane.

Frequently Asked Questions

Can I undo a Replace All if I made a mistake?

Yes. Press Ctrl+Z when ready after the replacement to undo all changes at once. If you have made other edits since then, you may need to press Ctrl+Z multiple times to get back to before the replacement happened. Word's undo history usually goes back many steps, but the further back you go, the more changes you will undo.

How do I search for a question mark or asterisk?

If you have "Use wildcards" or "Regular expressions" turned on, these characters have special meaning and will not search for themselves. Turn off the wildcard or regular expression option, and the search will treat them as literal characters. Alternatively, you can type a backslash before the character to escape it, but turning off the option is simpler.

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

Yes. In the "Replace with" field, type the code for what you want to insert — ^p for a paragraph mark or ^n for a line break. You must have "Use wildcards" or "Regular expressions" enabled. For example, you could search for a comma and replace it with a comma followed by a paragraph mark to split a list onto separate lines.

Does Find & Replace work the same way in Word Online as in the desktop version?

Word Online has a Find feature but a more limited Find & Replace. Press Ctrl+H to open it, but you will have fewer options than the desktop version — for example, you cannot search by formatting or use wildcard codes. For complex replacements, use the desktop version of Word.

What if the text I want to replace appears in headers, footers, or text boxes?

Find & Replace searches headers and footers by default, so those will be included. Text in text boxes, shapes, and comments is also searched. If you do not want to replace text in headers or footers, you will need to do those manually or use a macro, which is beyond the scope of basic Find & Replace.