Quote:
Originally Posted by wobohohoho
Code:
<div id="printheader_crumbtrail">
> Front of Book > Conflicts of interest: none declared
</div>
Question is, how do I find and replace these tags (or what regex do I use)?
|
You could use the following very simple regular expression:
Find:
<div id="printheader_crumbtrail">\s+(.*?)\s+</div>
Replace:
<h3>\1</h3>
However, before you do that you may want to search for dedicated CHM-to-EPUB converters first. There are a couple of standalone programs and some free websites, e.g.
Zamzar that will convert .chm files to epubs.
You could then use Sigil to fine-tune the epub.