View Single Post
Old 07-26-2011, 07:25 PM   #9
lunixer
Addict
lunixer has learned how to read e-bookslunixer has learned how to read e-bookslunixer has learned how to read e-bookslunixer has learned how to read e-bookslunixer has learned how to read e-bookslunixer has learned how to read e-bookslunixer has learned how to read e-bookslunixer has learned how to read e-books
 
lunixer's Avatar
 
Posts: 231
Karma: 928
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by theducks View Post
I see the error there was an extra < in the replace code

it should be:
Replace: <h3 \1</h3>

The way this pattern works:
Search for any line starting with <p class="calibre2">
and ending with </p>
The stuff between the ( ) will be remembered, which will bring along any ID values.

the replace puts a <h3 in the spot that was the <p
that is followed by all the stuff remembered (the \1)
finally we want to end the line with a </h3> (not the <</h3> I stuttered)
I'm not sure what I'm doing wrong, but I'm still not getting it. Now it says that your "find" pattern doesn't exist in the book. I've attached a screenshot showing my work in Sigil, if you would be willing to take a look and see if I'm doing this correctly. Thanks for the help!
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	253
Size:	206.3 KB
ID:	74840  
lunixer is offline   Reply With Quote