Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Selective Formatting using Find and Replace.
by Allen Wyatt
(last updated January 2, 2016)
Andy had a document that used the phrase "n-day" quite a bit, and he wanted the "n" to be in italics but the rest of the phrase in regular type. Faced with the task of making the desired formatting change many times over, Andy searched around for a solution using Word's Find and Replace tool.
Andy could search for "n-day" with no problem. However, there was a problem when trying to change just the "n" to italics because Find and Replace only applies formatting changes to the entire Replace With text, not just selected characters.
The solution was to do a two-pass Find and Replace. In the first pass, Andy changed the entire "n-day" phrase to italics. On the second pass he searched for "-day" (without the "n") and replaced it with a non-italics version. The result was just what he wanted, with only the single character in italics.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10777) applies to Microsoft Word 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Word here: Selective Formatting using Find and Replace.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Have you ever made a formatting change to a couple of characters or to a paragraph, only to see those changes affect text ...Discover More
If you turn explicit formatting on and off as you type, you may notice some quirky behavior in Word. This tip examines ...Discover More
Need to change the color of some text in your document? This tip discusses three different ways you can approach the task ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.