Thread: EPUB output
View Single Post
Old 07-16-2010, 03:14 AM   #724
LARdT
The LARdT of E-Books
LARdT began at the beginning.
 
LARdT's Avatar
 
Posts: 106
Karma: 46
Join Date: Dec 2009
Device: HANLIN V3ext (Papyre 6.1)
IF you have
Code:
<div class="calibre10">
   M
 </div>

 <p>y jailers merely tightened their hold and frog-marched me when I wobbled. Suckers are very strong; they may not have noticed that they were now bearing nearly all my weight as my knees gave and my feet lost their purchase on the ragged ground.</p>
and you want to end with something like:

Code:
<div class="calibre10">
   <p>My jailers merely tightened their hold and frog-marched me when I wobbled. Suckers are very strong; they may not have noticed that they were now bearing nearly all my weight as my knees gave and my feet lost their purchase on the ragged ground.</p>
<div>
Your SEARCH string is:
Code:
<div class="calibre10">(\n\s*)([([\(\ΡρΣ/ΓΑΙΝΪαινσϊάό΅!?Ώ*:«»"'-%…=–Ί©—“”#{(Ό)\).,;a-zA-Z0-9\-_\s\c]*)(\n\s*)</div>(\n\s*)<p>([\(\ΡρΣ/ΓΑΙΝΪαινσϊάό΅!?Ώ*:«»"'-%…=–Ί©—“”#{(Ό)\).,;a-zA-Z0-9\-_\s\c\<\>\[\]\n]*)</p>
and replace string is: (you may copy the carriage returns inside SIGIL replace box)

Code:
<div class="calibre10">
   </p>\5</p>
<div>
You have plenty examples of RegEx and explanations about them in

http://mipapyreebookreader.blogspot....ch/label/RegEx
LARdT is offline   Reply With Quote