I think this will work for you...
This is what I do when formatting my plain text books to simple HTML.
1) Search for ^p_ and (space)_ and change them to ^p<i> and (space)<i> -- this finds all the beginning italics and the italics that start at the beginning of a paragraph.
2) Then just do a search for any remaining _ and change to </i>
This should work just fine as long as the author didn't do any duplicate _ _ marks. Or, rather than just do an auto-change, you could search for each change one at a time to make sure it is the right type of change.
|