View Single Post
Old 06-28-2018, 01:02 PM   #1
soucedz
Junior Member
soucedz began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2018
Device: Kobo Aura 2nd Edition
Unhappy Book editor help - function for EPUB correction

Hey guys, i need help (since i don't know anything about Pyhton or RegEx functions) with creating a function that eliminates the unnecessary paragraphs that occur when converting PDFs to EPUB.
i have tried using Find&Replace with a simple expression like:

</p> <p class="calibre2">[a-z]

since correct paragraphs are succeeded with a capital letter, but the problem is that i don't want it to select the matched lower case letter, i tried something like:

</p> <p class="calibre2">?([a-z])

But the matched lower case letter still gets selected.

Thanks in advance.
soucedz is offline   Reply With Quote