Microsoft KB Archive/122758

= WD: How to Search for Special Characters When Pattern Matching =

Article ID: 122758

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.0 Standard Edition

-



This article was previously published under Q122758



SUMMARY
If you select Pattern Matching in the Find or Replace dialog box, the following special characters cannot be used in the Find What text box:   Character     Meaning -    ---

^p           Paragraph mark ^e           Auto-numbered endnote reference mark ^d           Field ^f           Auto-numbered footnote reference mark ^b           Section break ^w           White space (one or more spaces) When Use Pattern Matching is selected, Word uses an entirely different search engine. This alternative search engine is not designed to search for the special characters listed above.



WORKAROUND
To find the characters listed above when you have Use Pattern Matching selected, use the following substitutes in the Find What box:   Standard      Substitute        Meaning --       ---

^p           ^13               Paragraph mark (see Note 1)

^e           ^2                Auto-numbered endnote reference mark (see Note 2)

^d           (see Note 3)      Field

^f           ^2                Auto-numbered footnote reference mark

^b           ^12               Section break or page break (see Note 4)

^w           {1,}       White space (see Note 5)

MORE INFORMATION
For information about this issue in later versions of Word, please see the following article in the Microsoft Knowledge Base:

176776 WD: Searching for Special Characters When Use Wildcards Selected

Additional query words: ascii extended key caps

Keywords: kbhowto kbualink97 KB122758

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.