View Single Post
Old 08-17-2015, 09:40 AM   #7
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Quote:
Originally Posted by MikeB1972 View Post
To break it down
Search for this <span class="dlct-007">
then any combination of items (.*?)
ending with this </span>

the brackets around .*? say "cut the text for later use"

to use in the replace start with \ then the instance of saved text so as it's the first (and only) instance in your case use this for replace
\1

from the look of the sample you posted I would just try replacing 007 for now as it seems to be the default paragraph and won't affect the layout.
Gonna study this.. but the dclt-007 is only in the lines I copy'd, 2 paragraps below it is changing in dclt-008... tried to open the next html, Sigil is crashing.. there is just to much..
Nick_1964 is offline   Reply With Quote