Quote:
Originally Posted by DNSB
For one of the people I mentioned, I modified an ePub ebook changing most of the <em> tags to <i>. Pretty mindless search for <em, check if it is a name or other item that is supposed to be italic, modify or leave and move on to the next.
|
My first pass is to look for
<em>[A-Z] to find capital letters. This finds titles, ship names., etc.
Since those sorts of things are often repeated, I scan through the find results (Expression Web lists them all in a box) and add each unique one to a regex in a text editor:
Code:
<em>{(New York Times|Titanic|Star Wars)}</em>
The replace is:
This leaves a lot fewer to check manually.
I'd really like the ability to search for a misspelled word in a
em tag, to help find foreign words and phrases that should be italicized.