Microsoft Office Tutorials and References
In Depth Information
Using wildcard find and replace
using wildcard find and replace
Another option available to you when you’re searching for
something is to use a wildcard . This is a character or expression
that represents a type of character or a range of characters in
your text instead of specifying the exact characters themselves.
For example, in simple searches, you can use wildcards such as
^? to instruct Word 2013 to search for any single character, or
^# to have it look for any single digit. These simple wildcards
are listed under the Special button in the Advanced Find dialog
The Find And Replace dialog box also has an option labeled Use
Wildcards that enables a more complicated set of wildcards.
With this option, you can find and replace text in your docu-
ment that can’t be handled efficiently in any other way. As an
example, if you have a list of people’s names in “last-name, first-
name” order, a wildcard replacement can reorder each name as
“first-name last-name”.
The wildcard feature uses a set of characters with special mean-
ings to define the search.
use wildcards in a Find expression
1 In a new blank document, type =rand(5,1) and press Enter to
create sample text.
2 Copy one of the paragraphs and paste a copy immediately after the
original so that there are two identical paragraphs together. (In real
life, you might have sorted a list, resulting in multiple copies of the
same item.)
3 On the Home tab, in the Editing group, click Find and then click
Advanced Find.
The Find And Replace dialog box opens.
4 Click More and select the Use Wildcards check box.
5 Click in the Find What box and type (*^13)\1 . This expression
instructs Word to find any occurrence of two consecutive identical
6 Click Find Next.
Search JabSto ::

Custom Search