![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 59
Karma: 118112
Join Date: Jul 2013
Device: none
|
![]()
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. |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |