Changing Smart Quotes to Primes

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


1

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

Delay in Dialog Box Appearing

If your copy of Word seems to be slowing down a lot lately, it could be time to do some remedial work on your system. ...

Discover More

Checking for Incorrect Numbers in Text

One of the grammar rules you can check for in a document is the incorrect use of numbers. If you are unsure when to use ...

Discover More

Using a Week Number as One Criterion in a Formula

The SUMIFS function can be quite powerful in conditionally summing information based on criteria you specify. This tip ...

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)

Pasted Text Converted to a List

When you paste information into a document right after the end of a bulleted or numbered list, Word may convert that ...

Discover More

Creating New Windows

A great way to work on different parts of the same document at the same time is to create windows. These function as ...

Discover More

Jumping to a Specific Page

Want to jump to a particular page in your document? Word makes it easy; just pull up the Go To tab of the Find and ...

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 two more than 7?

2024-10-23 12:59:05

Timothy J. McGowan

It would likely be more straightforward to use the proper characters: prime and double prime.

In a document that already has single and double quotation marks, replace a single quotation mark following a number with a single prime. To enter it, hold down an Alt key (in Windows) and, on the numeric keypad, type 8242; release the Alt key. To enter a double prime, hold down an Alt key and type 8243. (You'll still have to make the second pass to remove the original quotation mark; replace apostrophe and single prime with single prime and quotation mark and double prime with double prime.)

A user can always map a character such as a single or double prime to a unique keystroke. Word does not seem to have a default keystroke dedicated to these characters. Perhaps assign them to Ctrl+/,' and Ctrl+/," That is, hold down a Ctrl key (in Windows) and type the slash, let go and type the apostrophe or the quotation mark. Or, since you're typing numbers and potentially using the number pad, assign the characters to Ctrl+NumPad 1 and Ctrl+NumPad 2. Choose whatever is the easiest to both remember and use on a daily basis.


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.