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

Highlighting Duplicate Words

One way to help improve your writing is to minimize the number of duplicated words you use in your prose. Depending on ...

Discover More

Changing an Invalid Autosave Folder

Excel allows you to specify where it stores various files used by the program. One location you can specify is where ...

Discover More

Getting a List of Matching Cells

The Find and Replace capabilities of Excel allow you to easily locate all the cells in a worksheet that contain specific ...

Discover More

Do More in Less Time! An easy-to-understand guide to the more advanced features available in the Microsoft 365 version of Word. Enhance the quality of your documents and boost productivity in any field with this in-depth resource. Complete your Word-related tasks more efficiently as you unlock lesser-known tools and learn to quickly access the features you need. Check out Microsoft 365 Word For Professionals For Dummies today!

More WordTips (ribbon)

Deleting Regular Text between Bold Text

Word makes it easy, using Find and Replace, to replace or delete information based on its formatting. Whether this ...

Discover More

Ensuring Consistent Types of Quotes

Word allows two different types of quote marks in a document: straight quotes and smart quotes. If you want to make sure ...

Discover More

Quick and Dirty Paragraph Count

Need to know how many paragraphs are in a document? You can use Word's Find and Replace feature to get a count quickly.

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 seven more than 3?

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.