Find and replace text
-
Go to Home > Replace.
-
Enter the word or phrase you want to replace in Find what.
-
Enter your new text in Replace with.
-
Choose Replace All to change all occurrences of the word or phrase. Or, select Find Next until you find the one you want to update, and then choose Replace.
-
To specify only upper or lowercase in your search, select More > Match case. There are several other ways to search in this menu.
For other options, see Find and replace text
Find and replace basic text
In the upper-right corner of the document, in the search box , type the word or phrase that you want to find, and Word will highlight all instances of the word or phrase throughout the document.
To replace found text:
-
Select the magnifying glass, and then select Replace.
-
In the Replace With box, type the replacement text.
-
Select Replace All or Replace.
Tips:
-
You can also open the basic Find and Replace pane with the keyboard shortcut CONTROL + H.
-
When you replace text, it’s a good idea to select Replace instead of Replace All. That way you can review each item before replacing it.
-
You can find text with special formatting, such as bold or highlight, by using the Format menu.
-
Select View > Navigation Pane.
-
In the Navigation Pane, select the magnifying glass.
-
Select Settings , and then select Advanced Find & Replace.
Notes:
-
Select the arrow at the bottom of the Find and Replace dialog box to show all options.
-
-
-
On the Format menu, select the option that you want.
If a second dialog box opens, select the options that you want, and then select OK.
-
In the Find and Replace dialog box, select Find Next or Find All.
You can find and replace text with special formatting, such as bold or highlight, by using the Format menu.
-
Select View > Navigation Pane.
-
In the Navigation Pane, select the magnifying glass.
-
Select Settings , and then select Advanced Find & Replace.
-
At the top of the dialog box, select Replace.
Notes:
-
Select the arrow at the bottom of the Find and Replace dialog box to show all options.
-
-
-
On the Find what box, type the text that you want to find.
-
On the Format menu, select the formatting that you want to find.
If a second dialog box opens, select the options that you want, and then select OK.
-
Select in the box next to Replace with.
-
On the Format menu, select the replacement formatting. If a second dialog box appears, select the formats that you want, and then select OK.
-
Select Replace, Replace All, or Find Next.
-
Select View > Navigation Pane.
-
In the Navigation Pane, select the magnifying glass.
-
Select Settings , and then select Advanced Find & Replace.
Notes:
-
Select the arrow at the bottom of the Find and Replace dialog box to show all options.
-
-
-
On the Special menu, select the special character that you want to find.
-
Select Find Next.
-
Select View > Navigation Pane.
-
In the Navigation Pane, select the magnifying glass.
-
Select Settings , and then select Advanced Find & Replace.
Notes:
-
Select the arrow at the bottom of the Find and Replace dialog box to show all options.
-
-
-
At the top of the Find and Replace dialog box, select Replace and then select in the Find What box, but don’t type anything there. Later, when you select a special character, Word will automatically put the character code in the box for you.
Note: Select the arrow at the bottom of the Find and Replace dialog box to show all options.
-
On the Special menu, select the special character that you want to find.
-
Select in the Replace with box.
-
On the Special menu, select the special character that you want to use as a replacement.
-
Select Replace or Find Next.
-
Select View > Navigation Pane.
-
In the Navigation Pane, select the magnifying glass.
-
Select Settings , and then select Advanced Find & Replace.
-
Select the Use wildcards check box.
If you don’t see the Use wildcards check box, select .
-
Select the Special menu, select a wildcard character, and then type any additional text in the Find what box.
-
Select Find Next.
Tips:
-
To cancel a search in progress, press + PERIOD.
-
You can also enter a wildcard character directly in the Find what box instead of selecting an item from the Special pop-up menu.
-
To search for a character that’s defined as a wildcard character, type a backslash () before the character. For example, type ? to find a question mark.
-
You can use parentheses to group the wildcard characters and text and to indicate the order of evaluation. For example, search for <(pre)*(ed)> to find «presorted» and «prevented.»
-
You can search for an expression and use the n wildcard character to replace the search string with the rearranged expression. For example, type (Newman) (Belinda) in the Find what box and 2 1 in the Replace with box. Word will find «Newman Belinda» and replace it with «Belinda Newman.»
-
-
To replace found text:
-
Select the Replace tab, and then select the Replace with box.
-
Select Special, select a wildcard character, and then type any additional text in the Replace with box.
-
Select Replace All, Replace, or Find Next.
Tip: When you replace text, it’s a good idea to select Replace instead of Replace All. That way you can confirm each replacement to make sure that it’s correct.
-
You can refine a search by using any of the following wildcard characters.
To find |
Use this |
For example |
---|---|---|
Any single character |
? |
s?t finds «sat» and «set.» |
Any string of characters |
* |
s*d finds «sad» and «started.» |
One of the specified characters |
[ ] |
w[io]n finds «win» and «won.» |
Any single character in this range |
[-] |
[r-t]ight finds «right» and «sight» and «tight.» Ranges must be in ascending order. |
Any single character except the characters inside the brackets |
[!] |
m[!a]st finds «mist» and «most» but not «mast.» |
Any single character except characters in the range inside the brackets |
[!x-z] |
t[!a-m]ck finds «tock» and «tuck» but not «tack» or «tick.» Ranges must be in ascending order. |
Exactly n occurrences of a character or expression |
{ n} |
fe{2}d finds «feed» but not «fed.» |
At least n occurrences of a character or expression |
{ n,} |
fe{1,}d finds «fed» and «feed.» |
A range of occurrences of a character or expression |
{ n, n} |
10{1,3} finds «10,» «100,» and «1000.» |
One or more occurrences of a character or expression |
@ |
lo@t finds «lot» and «loot.» |
The beginning of a word |
< |
<(inter) finds «interesting» and «intercept» but not «splintered.» |
The end of a word |
> |
(in)> finds «in» and «within,» but not «interesting.» |
Word for the web lets you find and replace basic text. You can match case or fine whole words only. For more varied options, open your document in Word for the desktop.
Need more help?
Want more options?
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
Загрузить PDF
Загрузить PDF
Из данной статьи вы узнаете, как использовать функцию «Найти и заменить» в Microsoft Word для поиска и замены слов в документе.
-
1
Откройте документ Microsoft Word. Для этого дважды щелкните по документу Word или откройте программу Word и выберите документ из списка недавно открывавшихся документов (если нужный документ есть в этом списке).
-
2
Поставьте курсор в начало документа. Для этого щелкните слева от первого слова документа. Функция «Найти и заменить» ищет слова, которые расположены только после курсора.
- Если вы хотите найти слово в определенном фрагменте текста (а не во всем документе), выделите этот фрагмент.
-
3
Перейдите на вкладку Главная. Она находится сверху слева на ленте инструментов Word (это синяя полоса в верхней части окна).
-
4
Щелкните по Найти. Этот параметр находится справа на панели инструментов в разделе «Редактирование». В левой части окна откроется панель поиска.
-
5
Введите слово, которое нужно найти, и нажмите ↵ Enter. Искомое слово будет выделено в документе.
-
6
Щелкните по ▼ или по ▲. Эти стрелки находятся справа снизу на панели поиска. Если щелкнуть по стрелке, курсор перейдет к следующему (или предыдущему) повтору искомого слова.
- Также можно щелкнуть по одному из результатов посередине панели поиска.
-
7
Щелкните по значку
. Он находится справа на панели поиска. Откроется выпадающее меню.
-
8
Щелкните по Заменить. Эта опция находится в выпадающем меню. Откроется окно «Найти и заменить».
-
9
Введите слово в строке «Заменить на». Эта строка находится в нижней части окна «Найти и заменить». Введите слово, на которое будет заменено слово, отображаемое в строке «Найти».
-
10
Щелкните по Заменить все. Эта кнопка находится в нижней части окна «Найти и заменить». Это приведет к замене всех повторений слова из строки «Найти» на слово из строки «Заменить на».
- Например, если в строке «Найти» ввести «банан», а в строке «Заменить на» ввести «яблоко» и нажать «Заменить все», все найденные (в документе или выделенном фрагменте) слова «банан» будут заменены на «яблоко».
- Чтобы заменить только некоторые (не все) повторения определенного слова, нажмите «Заменить» и заменяйте слова по одному. Возможно, перед этим вам придется поставить курсор в начало документа.
Реклама
-
1
Откройте документ Microsoft Word. Для этого дважды щелкните по документу Word или откройте программу Word и выберите документ из списка недавно открывавшихся документов (если нужный документ есть в этом списке).
-
2
Поместите курсор в начало документа. Для этого щелкните слева от первого слова документа. Функция «Найти и заменить» ищет слова, которые расположены только после курсора.
- Если вы хотите найти слово в определенном фрагменте текста (а не во всем документе), выделите этот фрагмент.
-
3
Перейдите на вкладку Главная. Она находится сверху слева на ленте инструментов Word (это синяя полоса в верхней части окна).
-
4
Щелкните по панели поиска. Она находится справа на панели инструментов Word.
-
5
Введите слово, которое нужно найти, и нажмите ⏎ Return. Искомое слово будет выделено в документе.
-
6
Щелкните по ► или по ◄. Эти стрелки находятся справа на панели поиска. Если щелкнуть по стрелке, курсор перейдет к следующему (или предыдущему) повтору искомого слова.
-
7
Щелкните по
. Этот значок находится справа от значка в виде лупы, который расположен слева на панели поиска. Откроется выпадающее меню.
-
8
Щелкните по Заменить. Эта опция находится в выпадающем меню. Слева откроется боковая панель.
-
9
Введите слово в строке «Заменить на». Эта строка находится в верхней части боковой панели «Найти и заменить». Введите слово, на которое будет заменено слово, отображаемое в строке «Найти».
-
10
Щелкните по Заменить все. Эта кнопка находится под строкой «Заменить на». Это приведет к замене всех повторений слова из строки «Найти» на слово из строки «Заменить на».
- Например, если в строке «Найти» ввести «мыло», а в строке «Заменить на» ввести «шампунь» и нажать «Заменить все», все найденные (в документе или выделенном фрагменте) слова «мыло» будут заменены на «шампунь».
- Чтобы заменить только некоторые (не все) повторения определенного слова, нажмите «Заменить» и заменяйте слова по одному. Возможно, перед этим вам придется поставить курсор в начало документа.
Реклама
Советы
- Чтобы открыть окно/панель «Найти и заменить», нажмите Ctrl+H (Windows) или ⌘ Command+H (Mac OS X).
- Если документ большой, поиск и замена слов может занять некоторое время. Чтобы прекратить поиск, нажмите клавишу «ESC».
- Функцию «Найти и заменить» можно использовать для поиска как слов, так и форматов и специальных символов.
Реклама
Предупреждения
- Перед тем как воспользоваться функцией «Найти и заменить» сохраните документ на случай, если что-то пойдет не так.
Реклама
Об этой статье
Эту страницу просматривали 41 970 раз.
Была ли эта статья полезной?
Exchange one text string for another in any version of Word
Updated on October 29, 2021
What to Know
- Open the Find and Replace tool in Word with the keyboard shortcut CTRL+H.
- Find and Replace doesn’t take capitalization into account unless you specifically tell it to.
- To replace capitalization, select More in the Find and Replace box, then Match Case > Replace or Replace All > OK.
All editions of Microsoft Word offer a feature called Find and Replace. Use this tool to search for a specific word, number, or phrase in a document and replace it with something else. You can also make several replacements at once—like changing a name or fixing something you’ve consistently misspelled. Use it, also, to replace numbers or punctuation and cap or uncap words.
If you turn on Track Changes before you begin, you can reject the replacement or deletion of any unintended word.
Find and Replace a Word
The Microsoft Word Find and Replace dialog box, in its simplest form, prompts you to type the word you’re looking for and the word you want to replace it with. Then, click Replace, and either allow Word to change every entry for you or, go through them one at a time.
To open the tool, press Ctrl+H (Cmd+H on Mac).
Change Capitalization in Microsoft Word
The Find and Replace feature doesn’t take into account anything about capitalization unless you specifically tell it to. To get to that option you’ll need to click the More option in the Find and Replace dialog box:
- Open the Find and Replace dialog box using your favorite method. We prefer Ctrl+H.
- Click More.
- Type the appropriate entry in the Find What and Replace With lines.
- Click Match Case.
- Click Replace and Replace again, or, click Replace All.
- Click OK.
Advanced Options
When you select the More expander in the Search and Replace dialog box, you’ll encounter several customizations. The list of items varies according to which version of Word you’re running.
Search Options
Select the check boxes to include or exclude things like punctuation, white-space characters, or substrings. Plus, apply tools like word-form matching (i.e., walked also matches walking) and Soundex matching (Karin matches Karen).
Replace Options
Word supports more advanced substitutions, too. Use special characters to substitute text markup with symbols. For example, replace a character code like & with an ampersand. This approach is useful for de-cluttering pasted HTML text that uses HTML codes to render certain symbols.
Thanks for letting us know!
Get the Latest Tech News Delivered Every Day
Subscribe
Back to Top
A white circle with a black border surrounding a chevron pointing up. It indicates ‘click here to go back to the top of the page.’
Back to Top
Home
Chevron icon
It indicates an expandable section or menu, or sometimes previous / next navigation options.
Tech
Ye Naiquan /EyeEm/Getty Images
- Find and Replace in Word is a tool that searches a document for a specific word or phrase.
- You can use the tool to replace a word or phrase with another.
- You can review each instance of a word before replacing it, or replace all instances at once.
Find and Replace is a helpful tool in Microsoft Word that searches your document for a specific word or phrase.
You can use the tool to replace one word with another, which can be helpful in situations where you need to go back to change the spelling of a word or check a document for instances of a repeated word to avoid redundancy. For example, if you’re deep into writing a paper and realize you’ve been misspelling someone’s name (let’s say Mark when it should have been Marc), you can use Find and Replace to easily find all instances of Mark and replace it with Marc with a few clicks.
Below, we’ve outlined how to use Find and Replace in Word on macOS and Windows.
Marissa Perino is a former editorial intern covering executive lifestyle. She previously worked at Cold Lips in London and Creative Nonfiction in Pittsburgh. She studied journalism and communications at the University of Pittsburgh, along with creative writing. Find her on Twitter: @mlperino.
Read more
Read less
Abigail Abesamis Demarest is a contributing writer for Insider based in New York. She loves a good glazed donut and nerdy deep dives into the science of food and how it’s made.
Read more
Read less
Related articles
Microsoft Word
Word
More…
Close icon
Two crossed lines that form an ‘X’. It indicates a way to close an interaction, or dismiss a notification.
Have you ever finishing typing a letter, report or presentation only to discover that you misspelled a person’s name or had the wrong company listed multiple times throughout your document? No worries—it’s an easy fix. Using Word’s Find and Replace feature, you can quickly locate and replace text. Let’s see how it works.
Switch over to the “Home” tab on Word’s Ribbon and then click the “Replace” button.
This opens Word’s Find and Replace window. In the “Find What” box, type the word or phrase you want to locate. If you only want to find text in your document, you can go ahead and click the “Find Next” button to have Word jump to the next occurrence of that word. Keep clicking it to browse through all the results.
If you want to replace the text you find with something else, type the replacement text into the “Replace With” box. You can enter up to 255 characters in the both the “Find What” and “Replace With” boxes, by the way.
In this example, let’s say we want to replace the name “Williams” with the name “Billingsly”, so we’ve typed that text into the respective boxes. Next, we’d click the “Find Next” button to have Word locate the first instance of the text in the “Find What” box.
Word jumps the document to that point and highlights the result in gray, still keeping the Find and Replace window on top for you. Click the “Replace” button to replace the currently selected result with whatever text is in the “Replace With” box.
To replace all instances at once without stopping and reviewing each one, you can click the “Replace All” button.
Be careful when using “Replace All” because it will automatically replace all instances, including those you might not want to replace. In the example below, there are three more instances of “Williams,” but we only want to replace the next two. In this case, we would only click “Replace” for the second and third instance.
If there is a particular instance where you don’t want to replace the text, click “Find Next” as many times as needed until you come to an example where you need to replace text.
To exit from Find and Replace, click the “Cancel” button.
Of course, since it is Word we’re talking about here, there are also lots of other things you can do to make your searches more sophisticated:
- Use wildcards in your searches to narrow them down to more specific results.
- Search directly within Word’s Navigation pane to have Word show you which headings have your search terms included under them.
- Replace double spaces between sentences with single spaces.
- Search for specific formatting or special characters.
The basic of searching and replacing text in Word are pretty straightforward, but there’s a lot you can do with it once you start digging.
READ NEXT
- › How to Search in Google Docs
- › How to Find and Replace Formatting in Microsoft Word
- › How to Use Find and Replace in Google Docs
- › What Your Function Keys Do in Microsoft Word
- › How to Delete a Page in Microsoft Word
- › How to Replace Any Character with Newlines in Notepad++
- › How to Search for Text in Word
- › The New NVIDIA GeForce RTX 4070 Is Like an RTX 3080 for $599
How-To Geek is where you turn when you want experts to explain technology. Since we launched in 2006, our articles have been read billions of times. Want to know more?