- Find and replace text.
Find and Replace helps you to find words or formats in a document and can let you replace all instances of a word or format. This is particularly handy in long documents.
To use Find and Replace, use the shortcut Ctrl+H or navigate to Editing in the Home tab of the ribbon, then choose Replace. To just quickly find something, use the shortcut Ctrl+F (Cmnd+F) or navigate to Home>Editing>Find.
Use the shortcut Ctrl+H or navigate to Home>Editing>Replace to reach the Find and Replace dialog box.
Type what you want to find in the Find what field, and the replacement in the Replace with field. (Note that you can move the Find and Replace dialog box by clicking the title bar and dragging it elsewhere so you can see what was behind it.)
Find Next highlights the first occurrence of the Find word. Clicking Find Next again will highlight the second occurrence, clicking Find Next again will highlight the next occurrence, and so on.
Clicking Replace replaces only the highlighted occurrence of the Find word.
Replace All replaces every instance of the Find word with the Replace word. A small dialog box will appear to tell you how many replacements were made.
The Pitfalls of Replace All
Be careful when you use Replace All. It will replace every occurrence of the Find phrase, including occurrences you hadn’t intended to replace. For example, replacing every “kg” with “kilogram” could result in the word backilogramround instead of background. Use spaces in the Find field to avoid this: replacing ” kg ” with ” kilogram ” will leave background the way it is. Some versions of Word also have a Whole Words checkbox option; this will ignore when a search term appears in the middle of a word.
Replace: More Options
Click the More>>> button in the bottom-left corner of the Find and Replace dialog box to find more options. There are many options here, but we will focus on three.
- Match case. Case is whether a letter is uppercase or lowercase. If the Match case box is checked, then Find and Replace becomes case-sensitive. For example, checking the Match case button and then searching for “Fishing Goods” will find “Fishing Goods” but NOT “fishing goods” or “Fishing goods.” If the Match case box is unchecked, then searching for “Fishing Goods” will find “Fishing Goods” and “fishing goods” and “Fishing goods” and so on.
- Format. Click the Format button to select from a variety of formatting options such as Font, Paragraph, and so on. When a formatting style is selected for Find, the Find term must have that formatting to be found. (Leave the Find field blank and choose a formatting style to find all occurrences of that formatting.) Similarly, choosing a formatting style for the Replace field will replace the Find term with whatever is in the Replace field with the Replace formatting. For example, this search finds all instances of the word mobile and applies bold and green formatting:
- Special. Special refers to special characters, or characters that are not on the typical keyboard. In Find and Replace, some of these characters can also be things like “any digit” or “any letter.”
You can also find words with the Find function. Simply finding where a word is used in a document is faster with the Find function.
To open the Find function, use the shortcut Ctrl+F or navigate to Home>Editing>Find. This will open a Navigation menu to the left.
Type in the Navigation text field that says “Search document” for the term you want to find. The term will be highlighted throughout the document. You can scroll through the document to see the highlighted occurrences, or you can scroll down through the Navigation pane to see where each word occurs in the text.