Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-10-2013, 07:42 AM   #1
cager
Member
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: 20
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: 5,802
Karma: 4027751
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
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
Old 10-10-2013, 09:10 PM   #3
mrmikel
Book Twiddler
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: 1,722
Karma: 1356799
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
Member
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: 20
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:40 AM.


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