Available Caret Codes

Written by Allen Wyatt (last updated October 25, 2025)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365


When Jill is using Find and Replace, she can click on Special to see 'special' things she can use in either the Find What or Replace With boxes. Most of these are implemented with a caret (^) followed by a letter. Jill wonders if there is a complete list of all the 'caret codes' somewhere.

Click on Special in the Advanced Find and Replace dialog box, and Word displays special things for which you can search. What you see depends on whether your insertion point is in the Find What box or in the Replace With box. Plus, Word only shows what you can search for, not the actual caret codes. You can, of course, select each special item and Word will insert the caret code in the Find What or Replace With box.

In total there are 24 caret codes, as detailed in the following table:

Code Meaning Find What Replace With
^- Optional hyphen X X
^? Any single character X
^& Find what (found) text  X
^# Any single digit X
^% Section character X X
^^ Caret character X X
^+ Em dash X X
^= En dash X X
^~ Nonbreaking hyphen X X
^$ Any single letter X
^b Section break X
^c Clipboard contents  X
^d Any field X
^e Endnote mark X
^f Footnote mark X
^g Graphic X
^l Manual line break X X
^m Manual page break X X
^n Column break X X
^p Paragraph mark X X
^s Nonbreaking space X X
^t Tab mark X X
^v Paragraph character X X
^w White space X

Note that this list has been sorted by caret code. Each code represents a powerful way to match special characters in the document. Note that not all special characters that you can search for can be used in the Replace With box. For instance, you cannot search for a column break (^n) and replace it with a section break (^b). Judicious use of the codes to replace with the text that was found (^&) or with Clipboard contents (^c) can easily skirt around these seeming limitations.

Caret codes also apply when you are doing a wildcard search. However, the available caret codes are different for wildcard searches, as shown in this table:

Code Meaning Find What Replace With
^- Optional hyphen X X
^& Find what (found) text  X
^% Section character  X
^^ Caret character X X
^+ Em dash X X
^= En dash X X
^~ Nonbreaking hyphen  X
^c Clipboard contents  X
^g Graphic X
^l Manual line break X X
^m Manual page/section break X
^m Manual page break  X
^n Column break X X
^p Paragraph mark  X
^s Nonbreaking space X X
^t Tab mark X X
^v Paragraph character  X

Note that there are many fewer Find What caret codes, but essentially the same Replace With codes. There are also a group of other codes that can be used with a wildcard search, but those are not technically caret codes, so they are not covered in this tip.

There is also an anomaly to note when working with caret codes in a wildcard search. Notice that the ^m code is included twice in this table. That is because if you use it in the Find What box, it matches to both page breaks and section breaks. If you use it in the Replace With box, however, it is only a page break. This means that you could search for ^m and replace with ^m, and all your section breaks would convert to page breaks.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (2787) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Specifying Superscript Text

Applying different formatting to the text within a cell can seem a bit confusing. This is certainly the case when it ...

Discover More

Emoticons in Word

Like to add a smiley or two to your writing? Word makes it easy through creative use of the AutoCorrect feature.

Discover More

Viewing Files of a Certain Type

When you choose to open a file, Word normally displays only those files that end with the .DOCX or .DOCM extensions. If ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2021 or Microsoft 365. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word Step by Step today!

More WordTips (ribbon)

Changing Formatting for a Portion of Found Text

The Find and Replace capabilities of Word are quite powerful. If you want to change the formatting of just a part of text ...

Discover More

Pay Attention to Case when Searching for ASCII Codes

Word allows you to search for specific ASCII codes in a document. If you use codes to search for alphabetic characters, ...

Discover More

Finding and Replacing Text Boxes

The Find and Replace capabilities of Word are very powerful, but they still come up a bit short when searching for some ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is nine more than 8?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.