Thread
:
A little help with a regex please, if you don't mind?
View Single Post
05-07-2014, 02:03 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
</p>\s+<p[^>]*>
This will remove all closing </p> tags followed by opening <p tags. You probably dont want to run this on the entire book, so use the marked region to do it.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS