Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Office 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Removing Specific Fields.

Removing Specific Fields

by Allen Wyatt
(last updated August 8, 2020)

If you use fields in your documents, you may need a way to delete a specific type of field, while leaving all the other types of fields untouched. You can use the ^d special character in the Find What box when doing a Find and Replace, but the ^d is non-discriminating: It finds all fields.

There are two ways you can approach this problem. First, when using ^d, you can follow it by the field code you want to search. Thus, if you search for ^d XE you can find all the XE fields in the document, ignoring the rest.

The second way is to search using the ^19 character. This is the code for an opening field brace. Follow it by the field you want to select, as in ^19 DATE, and only those fields are found.

Regardless of whether you use ^d or ^19, you should pay attention to what immediately follows. Word is very forgiving of the number of spaces that can follow an opening field brace. It is possible for there to be no spaces after an opening brace or two, three, or more spaces. For this reason, you will want to search for both ^dXE (no spaces) and ^d^wXE (multiple spaces, with the ^w representing white space). The same goes for the second method: you can search for ^19DATE and ^19^wDATE.

When searching for specific fields, you need to make sure that the field codes are displayed in the document. If you don't display them, then Word will ignore the codes. You can display them all by pressing Alt+F9. In addition, you should make sure that hidden text is displayed.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13145) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Office 365. You can find a version of this tip for the older menu interface of Word here: Removing Specific Fields.

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

Making Word Remember My Settings

Ever had the experience of setting some configuration option in Word, only to have the option revert to a different ...

Discover More

Bookmark Error when Printing

Bookmarks are commonly used in Word documents as a way to cross-reference information. If the bookmark referenced by the ...

Discover More

Importing Based on a Partial File Name

A common task for macros is to open and process a file you want imported into your workbook. If you need to identify the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Using Continued Lines

You can create a special header and footer page numbering scheme by using nested fields. This tip shows an example of how ...

Discover More

Displaying Fields

Fields (sometimes called field codes) allow you to insert dynamic information in your documents. If you want to see the ...

Discover More

Inserting the Total Number of Pages in Your Document

Word keeps track of many statistics for each of your documents. One statistic is the total number of pages in the printed ...

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 four less than 7?

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.