C
cfulmer
Hi, I'm trying to write a basic word -> HTML conversion (since I can't find
any tool that actually does a clean job of it.) For example, I want to find
all instances of italics and replace them with <i>(original text)</i>.
I've tried doing this in the search-and-replace:
Turned on "Use Wildcards", selected Format in the 'find' with Font of
"Italic", do a search for '*'.
In the replace with, I've set formatting to "Not Italic," and made the
replace string <i>^&</i> .
I've also tried it with (*) in the find field and <i>\1</i> in the replace
field.
My problem is that this seems to only be matching one character at a time --
I end up with <i> and </i> around every individual character, instead of
around an entire word, part of a word, sentence or paragraph.
Any help would be much appreciated.
any tool that actually does a clean job of it.) For example, I want to find
all instances of italics and replace them with <i>(original text)</i>.
I've tried doing this in the search-and-replace:
Turned on "Use Wildcards", selected Format in the 'find' with Font of
"Italic", do a search for '*'.
In the replace with, I've set formatting to "Not Italic," and made the
replace string <i>^&</i> .
I've also tried it with (*) in the find field and <i>\1</i> in the replace
field.
My problem is that this seems to only be matching one character at a time --
I end up with <i> and </i> around every individual character, instead of
around an entire word, part of a word, sentence or paragraph.
Any help would be much appreciated.