View Single Post
Old 05-10-2014, 12:12 PM   #16
JLius
Village idiot
JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.
 
JLius's Avatar
 
Posts: 157
Karma: 519566
Join Date: Mar 2014
Location: Belgium
Device: sony PRS T-1
I was having trouble with spaces in between tags, e.g

Code:
<p class="P-P27" id="calibre_pb_3"><span class="S-T">1. Title of chapter</span>*</p>
Notice the space between </span> and </p>.

I just couldn't match the search on this - it just worked till the </span>, it failed when I tried to include the </p>

After some googling, I did this:

Code:
<p class="P-P27" id="calibre_pb_3"><span class="S-T">(.+?)</span>\s</p>
And eventually replaced it with this:

Code:
<h1>\1</h1>
Is this sound?
JLius is offline   Reply With Quote