View Single Post
 
Old 04-25-2013, 08:32 AM
d4okeefe d4okeefe is offline Windows Vista Office 2010 64bit
Advanced Beginner
 
Join Date: Apr 2013
Posts: 77
d4okeefe is on a distinguished road
Default Find text, format part of text in italic

I would like to create code (in MS Word 2007) that searches a document, finds some text, and changes the formatting of part of that text. More specifically:

Find: Plessy v. Ferguson, 163 US 537
Replace: Plessy v. Ferguson, 163 US 537

Essentially, I want to remove the italics from the comma.

However, I only want to remove the italics if the text before the comma is also italic, and the text after the comma is not italic.

Thanks for any help.
Reply With Quote