Changing Some Smart Quotes to Non-Smart Quotes

Written by Allen Wyatt (last updated August 29, 2026)

3

Bill likes using smart quotes, but there are times when straight quotes should be used. He wonders if there is a way to change all quote marks or apostrophes to non-smart versions if they immediately follow a digit.

This can be done using a wild card search in Word. The key, though, is that before searching you need to make sure that you turn off Word's smart quote feature. If you don't, then when making a replacement, Word may turn your straight quote (the replacement text) into a smart quote automatically. To do that, 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.

Now you are ready to do your actual finding and replacing:

  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 2.)
  3. Figure 2. The Replace tab of the Find and Replace dialog box.

  4. Make sure the Use Wild Cards radio button is selected.
  5. Put the following in the Find What box: ([0-9])[^0145^0146]
  6. Put the following in the Replace With box: \1'
  7. Make sure you aren't searching for any formatting or using any formatting in the replacement text.
  8. Click Replace All

This sequence of steps works because of the patterns you use in steps 4 and 5. Step 4 means that you want to find any digit ([0-9]) followed by a character having the ANSI code 0146 or 0146. These two codes are used for opening (0146) or closing (0147) smart apostrophes. In step 5, you are replacing what is found with the digit that was found (\1) followed by an apostrophe. Since you previously turned off smart quotes, this replacement is a straight apostrophe.

You can now do another find and replace, but this time for double quotes (quote marks). The only difference in the steps is that you need to use this as your search string in step 4:

([0-9])[^0147^0148]

This search pattern uses the ANSI codes for open (0147) or closing (0148) smart quote marks. For your replacement pattern, in step 5, use this:

\1"

Note that the only difference is that you've swapped out the apostrophe for a regular quote mark.

There is one thing to be aware of in performing the replacement steps outlined above—all instances of the Find What pattern are replaced. If you believe that there are any possible instances in your document where a digit is correctly followed by a smart apostrophe or smart quote, then you'll want to use the controls in the Find and Replace dialog box to steps through the matching instances and make replacements only as necessary.

When you are done with your replacements, you can again go through the steps at the beginning of this tip to turn automatic smart quotes back on. The only difference in the steps is that you select the Straight Quotes with Smart Quotes check box in step 5.

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

Determining the Month of the Year

Your macro code may need to determine the month of the year represented by a particular date. You can find the desired ...

Discover More

Moving Object Anchors

When you insert an object into your document, it is anchored to a paragraph. If you want to change the paragraph to which ...

Discover More

Manual Line Breaks in STYLEREF Results

The STYLEREF field returns all the text referenced by a given style. When the text includes special characters, such as a ...

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)

Replacing without Automatically Finding

When you use Word's Find and Replace capability, clicking the Replace button performs the replacement and automatically ...

Discover More

Finding Contractions

Contractions are a common part of writing, and editors may be charged with removing or minimizing their use in a ...

Discover More

Finding and Replacing Text Boxes

The Find and Replace capabilities of Word are very powerful, but they still come up a bit short when searching for some ...

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 1 - 0?

2026-09-01 05:42:34

jamies

beepee,

Thanks for the correction.
My comment was in the expectation that Allen would correct the post
so any later presentation would be accurate.


2026-08-31 11:22:54

beepee

Allen is usually quite precise and accurate with his Word.Tips. However, I think maybe he was either travel weary or suffering pre travel stresses. :)
In the paragraph following the second Step 7:

…followed by a character having the ANSI code 0146 or 0146. These two codes are used for opening (0146) or closing (0147) smart apostrophes. In step 5, you are replacing what is…
I think I can safely say this is muddled!

ANSI code 145 = an opening smart apostrophe
146 = a closing smart apostrophe
147 = an opening smart quotation mark
And 148 = a closing smart quotation mark

Therefore the codes in the above para should read…

… having the ANSI code 0145 or 0146. These two codes are used for opening (0145) or closing (0146) smart apostrophes…
After this all seems to be good.

Just in case anyone needs... ANSI code for plain quotation mark is 034 ( " )
and for a plain apostrophe is 039 ( ' )


2026-08-29 07:46:17

jamies

Confused -

)[^0145^0146]

finds 146 or 146

And if
)[^0145^0146]
found them, why look for
0146 and 0147
0147 and 0148

And - if there are smart characters - why not copy and paste them into the replace ?


Also for times when a small number of entries need to be retained as the standard character use Ctrl+Z immediately after the standard keyboard entry of the not-smart characters -
a pretty standard way of getting the conversion to smarties to be undone !


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.