06-08-2018, 07:05 AM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Mar 2014
Device: Kobo Touch
|
How find and replace non-printable characters -zwnj and zwj?
Hey
I am struggling with such a problem: In the file I have a non-printable characters - zwnj and zwj They do not see them in the html code but I know they are there Raport counts them I need a way to precisely determine where in the text they are. Searching with regex = \ u200D does not give a result Thanks in advance |
06-08-2018, 08:04 AM | #2 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Since Sigil uses PCRE, you'll have to use the following expessions:
Code:
\x{200D} \x{200C} |
Advert | |
|
06-08-2018, 08:28 AM | #3 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You could also add those two entities to the Preserve Entities list in Sigil's preferences. Then after a save, those characters will be converted to entities. It's just a matter of normal Find and Replace after that.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to replace characters in title | mariaclaudia | Calibre | 5 | 03-29-2018 10:30 PM |
Find and replace replacement characters - box with question mark | CynthiaBlue | Conversion | 11 | 07-18-2015 12:31 AM |
Recipe turning some punctuation marks as non-printable characters | knowledgecrawler | Recipes | 4 | 08-20-2014 11:47 PM |
Search and Replace Unicode characters during conversion | marcbook | Conversion | 0 | 02-09-2014 01:37 PM |
Find/Replace Won't Find | Rand Brittain | Sigil | 7 | 09-24-2011 04:35 AM |