Formatting Page Ranges Properly

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


Courtney edits academic articles for a scholarly journal, and references to sources often list ranges of pages in the source article. Authors will invariably separate these ranges with a hyphen. Courtney needs to change all of these to en dashes, but she cannot use Find and Replace because hyphens can be used in lots of valid places in the articles. She wonders if there is an automated approach to affect just the hyphens in page ranges.

Actually, Find and Replace is the best way to handle this need. Follow these steps:

  1. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box.
  2. Click the More button, if it is available. (See Figure 1.)
  3. Figure 1. The Replace tab of the Find and Replace dialog box.

  4. Make sure the Use Wildcards check box is selected.
  5. Enter the following in the Find What box: ([0-9])-([0-9])
  6. Enter the following in the Replace With box: \1^=\2
  7. At this point you are ready to do the actual Find and Replace. Using wildcards, the Find What expression searches for any digit, followed by a hyphen, and followed by another digit. The characters in the Replace With box replace what was found with the first digit, an en dash, and the second digit. (The ^= sequence is the code for an en dash.)

    At this point, you might be tempted to click Replace All. Be careful, though, because the hyphen can be correctly used in some places such as a telephone numbers, numeric dates, or URLs. You don't want to replace those, so it is best to simply step through each instance that is found and determine if the change should be made. Even in long documents this should not take that much time.

    One other thing to keep in mind—if you are professionally editing, you may have Track Changes turned on. Before doing the Find and Replace, turn it off as it is not necessary to mark such changes. When you are done, you can once again enable Track Changes.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13971) 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

ScreenTip for an Image

You can configure images in Excel so that if someone clicks on them, a macro is executed. You cannot, however, have a ...

Discover More

Listing Combinations

You can easily use the COMBIN worksheet function to determine the number of combinations that can be made from a given ...

Discover More

Finding a Worksheet to Unhide among Many Hidden Sheets

Trying to track down a single worksheet among many hidden worksheets can be a challenge. This tip examines a few ...

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 2019. Spend more time working and less time trying to figure it all out! Check out Word 2019 For Dummies today!

More WordTips (ribbon)

Keeping a Replace Operation Displayed

The Find and Replace tool is designed to help you find and replace information as quickly as possible. However, you may ...

Discover More

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

Available Caret Codes

When doing an advanced search in Word, the program provides special codes you can use in your searching or replacing. ...

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 three 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.

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.