Quote:
Originally Posted by meghane_e
I have an HTML book (14 files) and one of the chapters was preformatted as completely italic text with tags scattered in the HTML (not the css). It's the Prologue and it is an author-published web chapter.
In the Epub editor, I tried a simple Select on the text in the file preview pane to de-italicize it, but the Editor only seems to add Italics tags. The files wasn't too long, so I did it manually (about 20-25 occurrences). For future reference, is there a built-in way to remove the html formatting (<i ...>xxxx</i> or similar tags) while preserving the text? Ex. Here is some italicized text that I want to invert . Or is it something I need a regular expression for? The Metadata editor has a function to remove HTML formatting, so am I just overlooking it in the Epub editor?
Thanks to anyone who can provide some help!
|
In the Code view.
Select the text, including the <i tags at both ends
Ctrl-F (find): replace the text you want to keep with
(.+?)
set replace to
\1
Set the mode to REGEX: (current file if you don't want Global)

reset the cursor to The top: the click f
ind is it a correct find

click replace. Preview if needed is the replace good:
Repeat: find: replace and find: