Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. 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 June 28, 2014)

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, and 2013. 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

Right Aligning a Table Column with an Indent

Word allows you to get a bit fancy in formatting the alignment of your tables. In this tip, you discover how to enter ...

Discover More

Getting User Input in a Dialog Box

Want to get some input from the users of your workbooks? You can do it by using the InputBox function in a macro.

Discover More

Margins On the Screen Don't Match Printout

Does your text on the screen sometimes look "scrunched up" when it comes to the transition between pages? It could be a ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Quickly Inserting the Date Your Way

Tired of messing with inserting the date and then changing it to a format that is more to your liking? There's a quick ...

Discover More

Inserting a Cross-Reference to Text

Cross-referencing is a great feature of Word that allows you to add references to text in various places of your ...

Discover More

Understanding the COMPARE Field

The COMPARE field is rather esoteric, but it can be helpful when you need to compare two values using fields. The result ...

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}] 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 one less 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.

Newest Tips
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.