@poire-z Mentioned that it'll suffice to remove the ID from the P. But I'd already expanded on my regex above. Luckily it didn't take very long.
For example, here in the calibre ebook editor:
Find:
Code:
<p id="([a-z0-9]*)"( class="footnotes?"><a href="[a-z0-9]*\.html#[a-z0-9]*" id="([a-z0-9]*)")
Replace:
Mode: regex
All text files
Quote:
Originally Posted by xversion1
Are these all right?
|
I think that's correct, yes. The only problem is you don't want to be doing that 600 times.