![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2019
Device: none
|
Replacing a symbol
Hello,
I have an E-Book with numerous characters mistakenly replaced with the symbol /. I would like to find and replace these, but ignore </p> of which there are many. If there is a solution, would appreciate any advice. Thank you |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 808
Karma: 2416112
Join Date: Jan 2017
Location: Poland
Device: Various
|
It can partially help
Code:
(?<!<)/ |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,351
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Namespaces, hrefs, void tags: there's a world of issues any expression is probably going to run into.
|
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 808
Karma: 2416112
Join Date: Jan 2017
Location: Poland
Device: Various
|
Try this (should be better, although of course not perfect):
Code:
(?<!(<|/))/(?!(Styles|Images|Text|1999|2000|xhtml|TR|DTD|css|html|svg|xlink|p|/|>)) |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2019
Device: none
|
Thank you Becky, your first suggestion found 333 and your second 188, considerable less than the 7500 "/" I was first faced with.
Very much appreciated. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Symbol font | jcsalomon | Kindle Formats | 3 | 01-01-2018 04:12 PM |
Punctuation and symbol issues | NelsP91 | Calibre | 6 | 11-01-2017 11:17 PM |
Replacing code without replacing text? | ElMiko | Sigil | 6 | 11-30-2011 08:14 PM |
Embedding .symbol font? | Kivgaen | Sigil | 23 | 06-24-2010 09:13 PM |
The Lost Symbol | trout | Deals and Resources (No Self-Promotion or Affiliate Links) | 10 | 12-12-2009 11:17 AM |