View Single Post
Old 05-13-2013, 06:20 PM   #8
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
are you sure they're not calibre's smart quotes? it would be easier if they were because then you wouldn't have the conflict with the classes/ids.

you could try this, but it may just end up causing more problems than it's worth. maybe saves you a bit of time?

Code:
find:
(?s)(<p[^>]*>)([^"]+".+)</p>\s+?<p[^>]*>([^"]+")

repl:
\1\2 <----- trailing white space
mzmm is offline   Reply With Quote