Deleting Regular Text between Bold Text

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


Daniel has a long document that has many instances of bolded words interspersed with non-bolded words. He would like a way to delete all instances of regular text that appears between bolded text. Thus, "bold text with lots of regular text in the middle then more bold text" would be changed to "bold text more bold text." Daniel wonders if this be done with Find and Replace or if it requires a macro.

This can be done with Find and Replace, but you may want to think through if you really want to do it. As asked, it appears that Daniel wants to, effectively, delete all regular (non-bolded) text in the document. For instance, consider the situation where you have (1) bold text, followed by (2) non-bold text, followed by (3) bold text, followed by (4) non-bold text, followed by (5) bold text. You have, in this case, three instances of bold text (1, 3, and 5) separated by two instances of non-bold text (2 and 4). How does this get handled? As written, in Daniel's scenario, the two instances of non-bold text should be removed because they are bounded by bold text. Thus, all of the non-bold text is removed.

Here is how you would handle this in Find and Replace:

  1. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box.
  2. Make sure there is nothing in either the Find What or Replace With boxes.
  3. Place the insertion point in the Find What box.
  4. Press Ctrl+B two times. (The first time changes the Find What box to bold and the second time changes it to Not Bold.)
  5. Click Replace All.

There are two gotchas you need to be aware of in doing this, and those gotchas are the reason I said you may want to "think through" if you really want to follow this route. First, since Find and Replace removes all non-bold text in the document, any non-bold text at the very beginning or very end of the document will be removed, even though they are not bounded on both sides by bold text. Second, you may end up with bold text not separated by spaces. This would occur if there were no bold-formatted spaces between two occurrences of bold text.

It is also important to realize that this approach is not discerning when it comes to what is between bolded text. It is very possible that your hard returns at the ends of paragraphs will be deleted, unless they are formatted as bold. This can result in some funky looking text when all is said and done.

If you want something a bit more discerning, then the most prudent approach would be to create a macro that can perform a more detailed analysis of the document and remove only what you actually want removed. Developing such a macro would be dependent on coming up with rules that you want applied to the entire document and then codifying those rules in the macro itself.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13889) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 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

Printing Multiple Worksheets on a Single Page

Got a bunch of worksheets and you want to save paper by printing multiple worksheets on a single piece of paper? There ...

Discover More

Recognizing a Header Row when Sorting

When you sort data in a worksheet, there are a couple ways you can do it. Using the simple way can result in ...

Discover More

Limiting How Many Times a Worksheet Can Be Calculated

Excel, by default, recalculates your worksheets as you make changes in those worksheets. If you want to limit the number ...

Discover More

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

More WordTips (ribbon)

Removing HTTP from URLs

Having problems when it comes to replacing information in URLs? You're not the only one; it can be confusing making mass ...

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

Applying a Character Style to Bracketed Text

Word has a powerful Find and Replace capability. It is even more powerful if you turn on its wildcard capability. Here's ...

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 8 + 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.