
Tips.Net > WordTips Home > Normal > Searching for Special Characters > Special Characters in Pattern Matching
Summary: The most powerful search engine in Word use pattern matching, but the way you specify special characters in a pattern-matching search is different than in a regular search. This tip examines some of the differences that can affect how you do your searching. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)
If you are using the powerful pattern-matching engine in Word, you should understand that you cannot search for some special characters in the same way you do when normally searching. In normal Word searching you indicate the start of a special character by using the caret (^) followed by a character that indicates what you are searching for. For instance, ^p will search for a paragraph mark.
When pattern matching is enabled you cannot use all the special characters you normally used in searching. Instead you must use workarounds, as shown here:
| Normal Search | Pattern Match | Meaning | ||||
|---|---|---|---|---|---|---|
| ^e | ^2 | Auto-numbered endnote reference mark | ||||
| ^f | ^2 | Auto-numbered footnote reference mark | ||||
| ^b | ^12 | Section or page break | ||||
| ^p | ^13 | Paragraph mark |
Note that the workaround for endnotes and footnotes is the same. This means that you cannot differentiate between these characters when pattern matching. In addition, you cannot search for a field (^d) when using pattern matching. Searching for white space (^w) is also a little different. You must type a space (press the Space Bar) and then enter the pattern {1,}. This causes Word to search for one or more spaces.
Tip #1641 applies to Microsoft Word versions: 97 2000 2002 2003 2007
Take Control! Master the real power behind Word! Successfully master the secrets of powerful formatting and create documents that stand out from the rest. Best of all, you can create documents that are easy to maintain and quick to change.
Check out Word 2007 Styles and Templates today!
The real power behind Word's best documents lies in understanding styles and templates. Learn the key to more powerful document creation. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips