Changing Smart Quotes to Primes

by Allen Wyatt
(last updated August 22, 2020)

Mina's document uses smart quotes. This means that apostrophes after digits (such as 27' meaning 27 feet) need to be manually changed to prime marks. Mina wonders if there is a way, using Find and Replace, to change all apostrophes after digits to primes and all quote marks after digits to double primes.

The easiest way to do this is to follow these steps:

  1. Display the Word Options dialog box. (In Word 2007 click the Office button and then click Word Options. In Word 2010 and later versions display the File tab of the ribbon and then click Options.)
  2. At the left side of the dialog box click Proofing.
  3. Click AutoCorrect Options button. Word displays the AutoCorrect dialog box.
  4. Make sure the AutoFormat As You Type tab is displayed. (See Figure 1.)
  5. Figure 1. The AutoFormat As You Type tab of the AutoCorrect dialog box.

  6. Make sure the Straight Quotes with Smart Quotes option is cleared.
  7. Click OK to dismiss the AutoCorrect dialog box.
  8. Click OK to dismiss the Word Options dialog box.

These steps effectively turn off smart quotes, but it doesn't change any smart quotes already existing in your document. (It is step 5 that controls the option.) Now you are ready to do your find and replace operation:

  1. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box. (See Figure 2.)
  2. Figure 2. The Replace tab of the Find and Replace dialog box.

  3. Enter the following in the Find What box: ^#'
  4. Enter the following in the Replace With box: ^&'
  5. Make sure you aren't searching for any formatting or using any formatting in the replacement text.
  6. Click the Replace All button.
  7. Replace the contents of the Find What box with two apostrophes. (That's not a quote mark, but two actual apostrophes.)
  8. Replace the contents of the Replace With box with a single apostrophe.
  9. Click the Replace All button.

Note that in step 2 there is a trailing apostrophe, along with the same in step 3. This means you are first replacing any number followed by an apostrophe with that original number and apostrophe followed by another (a second) apostrophe. This is why you need to perform steps 6-8, to get rid of the extra apostrophe.

When done, you can repeat the same steps, but using quote marks in steps 2, 3, 6, and 7. Close the Find and Replace dialog box, and then repeat the earlier steps to turn smart quotes back on (step 5). The result is that you end up with primes instead of smart quotes (or smart apostrophes) after your digits.

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

Deleting Blank Rows

Got some pesky blank rows in your data that you want to get rid of? This tip provides a wide variety of methods you can ...

Discover More

Selecting Tabs in Dialog Boxes

Dialog boxes normally present information in a series of tabs. If you want to move from tab to tab without taking your ...

Discover More

Inserting from the Clip Art Gallery Doesn't Work

Ever insert a picture and it won't display in your document? It could be due to some of the display settings in Word. ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Replacing the Last Comma

When you need to perform certain editing tasks over and over again, you start to look for ways to make your work faster ...

Discover More

Deleting a Range of Pages

Need to delete a range of pages out of the middle of your document? It's easy to do using editing techniques you already ...

Discover More

Inserting Dashes between Letters in Words

Sometimes typing isn't straight typing. Sometimes you need to perform special tasks, such as putting dashes between ...

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 3 + 0?

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.