|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,098
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Find & Replace
I got some ideas in my earlier post
https://www.mobileread.com/forums/sh...highlight=tags but I can't figure out if it's possible to ignore a 'Find' if it's inside a tag(s) Say for example i have <p class="big black">See the big cat</p> and I want to just replace 'big' with 'large' but only in the text <p class="big black">See the large cat</p> How to do it? It'd be nice if there was a F&R checkbox to "Ignore in tags" |
|
|
|
|
|
#2 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,431
Karma: 182161789
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
An equivalent to Sigil's Text checkbox to restrict search to text?
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,481
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Click the search menu and in there you will find search ignoring HTML markup
|
|
|
|
|
|
#4 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,098
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Thanks for pointing that out
However 1. The setting doesn't seem to be persistent, i.e. once set it does not stay set for the next search 2. I get this error Quote:
I I need to find the word in plain old text and if I select {Search], [Search ignoring HTML markup] I get the error. Am I doing something the wrong way? Last edited by phossler; Yesterday at 08:27 AM. |
|
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,481
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the error is harmless and will be removed in the next release. and its not a setting it open a new panel (usually in the bottom left corner) where you can do searches ignoring HTML markup
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,098
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
OK, i found the new panel it opens and it does Find non-tagged text
My unsolicted comments are that it seems to operate very differently than the 'standard' Find/Replace I can't do a [Replace] or [Replace all] or [Replace find next]. The triangle icons for Find next and find previous work nicely but only to jump to the next occurance. It would be my guess that if a user was looking for non-tagged text, a replacement would be common thing to do I'd be my thought that just using a fourth check box by[ ] Case Sensitive [ ] Wrap [ ] Dot all [ ] Ignore HTML markup would be more flexible |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automate a page split... Find & Replace doesn't work for this | LostOnTheLine | Sigil | 24 | 11-28-2022 12:55 PM |
| Curious problem with find/replace & regex | JoeBloe | Editor | 1 | 11-07-2014 04:45 AM |
| Weird problem with Find & Replace | lastjuan | Sigil | 3 | 01-17-2013 03:55 AM |
| Grep Find & Replace | Fabe | Sigil | 3 | 12-06-2010 12:00 PM |
| Help with Word - Find & Replace | Big Kev | Workshop | 3 | 09-21-2010 06:51 PM |