Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Removing Specific Fields.

Removing Specific Fields

by Allen Wyatt
(last updated September 18, 2021)

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 (3825) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) 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

Using Seek In a Macro

When reading information from a text file, your macro may need to start reading at a place other than the beginning of ...

Discover More

Formatting Fractions

Need to have a great looking fraction in a document? It's relatively easy to do if you apply the formatting techniques ...

Discover More

Opening a Text File and Template from the Command Line

Word includes a command-line syntax that you can use to open files and do other operations. If you want to load a text ...

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 (menu)

Entering a "Slashed Zero" in Your Document

Need to add the occasional zero with a slash through it? There are a couple of ways you can accomplish this task.

Discover More

Numbering With Sequence Fields

You can use sequence fields for reliable numbering. They are quick, easy, and don't have some of the drawbacks of ...

Discover More

Inserting the User's Initials

One of the pieces of information tracked by Word are your name and initials. You can insert your initials by using the ...

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 eight more than 6?

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 menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon 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.