Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-10-2013, 07:42 AM   #1
cager
Connoisseur
cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.
 
Posts: 59
Karma: 118112
Join Date: Jul 2013
Device: none
Question Find and replace query

I have a Epub book in which, I know not why, the closing speech mark always presents as an exclamation mark!

I want to use Sigil to do a find and replace for the approximate 699 instances.

However, using find “!” replace with”.’” (excluding quotes) also picks up the ! in the html page headers.

Is there a way I can define the find/replace to ignore the headers?

I am fairly certain that none of the affected speeches ends with anything other than a full stop.
cager is offline   Reply With Quote
Old 10-10-2013, 12:59 PM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
The easiest is probably to first replace the ! in the headers with something else, run your main replace, and then change the headers back.
Jellby is offline   Reply With Quote
Advert
Old 10-10-2013, 09:10 PM   #3
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
You might use the marked text function if the text ones are all in selectable blocks and that way it wouldn't take away from the headers since you wouldn't mark them.
mrmikel is offline   Reply With Quote
Old 10-14-2013, 04:23 AM   #4
cager
Connoisseur
cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.cager 's ceiling is 100% spider-free.
 
Posts: 59
Karma: 118112
Join Date: Jul 2013
Device: none
Thanks Jellby - tried it and it worked. Helped that I noticed the headers all had !D so easy to search/replace before dealing with the text.

Thanks mrmikel did not need to try your suggestion but thanks for the idea.
cager is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find/Replace ? Otter Calibre 2 10-08-2012 08:48 PM
Find Replace unrulyguides Sigil 5 02-17-2012 08:38 PM
Find/Replace Won't Find Rand Brittain Sigil 7 09-24-2011 04:35 AM
Find / replace bremler Sigil 6 12-17-2010 03:26 PM
Using Find/Replace with BD Otter Sony Reader 7 02-28-2009 01:49 PM


All times are GMT -4. The time now is 01:16 PM.


MobileRead.com is a privately owned, operated and funded community.