Formatting Page Ranges Properly

Written by Allen Wyatt (last updated April 2, 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

Correct Line Numbers When Printing Selections

Line numbers can be indispensable on some types of documents. When you print a portion of a document (a selection) Word ...

Discover More

Creating Additional Clocks

Want to keep track of what time it is in various areas of the world? Windows makes it easy by allowing you to display ...

Discover More

Quickly Displaying the Tabs Dialog Box

Setting tabs in a paragraph is a common task. This is most easily done by using the Tabs dialog box. Displaying the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More WordTips (ribbon)

Removing HTML Tags from Text

HTML tags are great when you want to display information on a web page. They are not so great when you have them in a ...

Discover More

Replacing an X with a Check Mark

In order to provide a finishing touch to your document, you may want to replace mundane X marks with fancier check marks. ...

Discover More

Making Ctrl+F Work Traditionally

One change introduced in Word 2010 was the new navigation pane that is used for simple searching of information. This ...

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