View Single Post
Old 09-05-2021, 03:32 AM   #17
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,791
Karma: 731691
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
@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:
Code:
<p \3\2
Mode: regex
All text files

Quote:
Originally Posted by xversion1 View Post
Are these all right?
I think that's correct, yes. The only problem is you don't want to be doing that 600 times.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2021-09-05_08-28-03.jpg
Views:	146
Size:	825.7 KB
ID:	189118   Click image for larger version

Name:	Screenshot_2021-09-05_08-33-10.png
Views:	157
Size:	372.1 KB
ID:	189120  
Attached Files
File Type: epub The Mahabharata_ Volume 6 - Bibek Debroy_scrambled-fix.epub (2.53 MB, 143 views)

Last edited by Frenzie; 09-05-2021 at 03:35 AM.
Frenzie is offline   Reply With Quote