View Single Post
Old 07-06-2015, 11:01 PM   #7
Kaetrin
Connoisseur
Kaetrin can eat soup with a fork.Kaetrin can eat soup with a fork.Kaetrin can eat soup with a fork.Kaetrin can eat soup with a fork.Kaetrin can eat soup with a fork.Kaetrin can eat soup with a fork.Kaetrin can eat soup with a fork.Kaetrin can eat soup with a fork.Kaetrin can eat soup with a fork.Kaetrin can eat soup with a fork.Kaetrin can eat soup with a fork.
 
Kaetrin's Avatar
 
Posts: 82
Karma: 9402
Join Date: Jul 2009
Location: Adelaide, South Australia
Device: Kobo Libra Colour
Thank you

This is what I did:

I typed the entire code into "find" <br class="calibre1"/>
<span class="calibre_1">\d+ and replaced it with blank

There were still numbers so then I typed just <span class="calibre_1">\d+ into "find" and replaced with blank.

There were less numbers so then I typed just <br class="calibre1"/> into "find" and replaced with blank. There were fewer numbers but also no paragraph markers at all (just a huge block of text) so I undid that find/replace.

Then I closed out of the find/replace mode and clicked on Fix HTML. I'm not familiar with this function. I can see it did something but I'm not sure exactly what.

It is much better than it was. Possibly even largely readable now but there are still some numbers.

Here is an example of what I see in live preview:
“I’m not going to back down,” Maddox insists. The glowing S31
numbers over the doors mark ever-higher stories; I swallow to pop N32
01 my ears.

And here is the same passage in Regex mode:
“I’m not going to back down,” Maddox insists. The glowing <span class="calibre_1">S31</span><br class="calibre1"/> numbers over the doors mark ever-higher stories; I swallow to pop <span class="calibre_1">N32</span><br class="calibre1"/><span class="calibre_1"> 01</span> my ears.

Obviously I've not managed to follow your instructions correctly. Can you point me to what I did wrong?

Sorry, I know I'm hard work. This stuff is a bit above my paygrade. I really appreciate your help.
Kaetrin is offline   Reply With Quote