Word Control Codes

Control Codes for use with the Word Search/Replace Tool
Code Notes
^1 In-line picture
^2 Auto referenced footnotes
^5 Annotation mark
^9 Tab
^11 New line
^12 Page or Section break
^13 Paragraph break / 'carriage' return
^14 Column break
^19 Opening field brace (when field braces are visible)
^21 Closing field brace (when field braces are visible)
? Question mark
^? Any single character (not valid in the Search/Replace Dialog)
^- Optional hyphen
^~ Non-breaking hyphen
^^ Caret character
^# Any digit
^$ Any letter
^& Contents of 'Find What' box (Search/Replace Dialog only)
^+ Em dash  (not valid in the Search/Replace Dialog)
^= En dash  (not valid in the Search/Replace Dialog)
^u8195 Em Space Unicode character value search (not valid in the Search/Replace Dialog)
^u8194 En Space Unicode character value search (not valid in the Search/Replace Dialog)
^a Comment (not valid in the Search/Replace Dialog) (Word 97-2000 only)
^b Section break (not valid in the Search/Replace Dialog)
^c Replace with Clipboard contents (Search/Replace Dialog only)
^d Field
^e Endnote Mark (not valid in the Search/Replace Dialog)
^f Footnote Mark (not valid in the Search/Replace Dialog)
^g Graphic (In Line Graphics Only). In Word 2007 a forward slash / also appears to find in-line graphics. This appears to be an unintentional bug.
^l New line -
^m Manual Page Break
^n Column break
^t Tab -
^p Paragraph Mark -
^s Non-breaking space - °
^w White space (space, non-breaking space, tab); not valid in the Search/Replace Dialog
^nnn Where "n" is an ASCII character number

Note: ASCII codes below 128 were standardized a long time ago, before the introduction of Windows operating systems. The upper codes were used for OS-specific, localized, or vendor-specific stuff. When DOS code pages were replaced by Windows code pages, a leading zero was used to indicated the difference.
Thus ^32 and ^032 will both represent a space character, but ^147 will represent ô and ^0147 will represent
^0nnn See above (Produces ASCII on Macintosh).
^unnnn Unicode character search where "n" is a decimal number corresponding to the Unicode character value.
Note: Instructions on how to identify the required decimal number are included at the end of this page.
Note: To search for a specific field, such as an XE (Index Entry) field, use the following syntax:
^19 field name