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

Displaying a Hidden First Column

Hiding columns is easy, even hiding column A. How, then, do you get that left-most column displayed again? Here are a few ...

Discover More

Rounding to the Nearest $50

When preparing financial reports, it may make your data easier to understand if you round it to the nearest multiple, ...

Discover More

Inserting a Non-Breaking Space

In Word a non-breaking space will help you keep two words together on the same line. Here's two different ways that you ...

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)

Multiple Document Users

If you have a group of people working on a single document, you may wonder what tools are available in Word to facilitate ...

Discover More

Deleting a Final Blank Page

When creating a document, if can be frustrating to have a blank page somehow appear at the end of the document. If you ...

Discover More

Capitalizing the First Letter after a Quote Mark

The AutoCorrect feature of Word will automatically capitalize the first letter of sentences as you type, unless the ...

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 2 + 2?

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.