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