| 
			
			 | 
		#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  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,763 
				Karma: 24088559 
				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 | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				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 11:30 PM | 
| Find and replace replacement characters - box with question mark | CynthiaBlue | Conversion | 11 | 07-18-2015 01:31 AM | 
| Recipe turning some punctuation marks as non-printable characters | knowledgecrawler | Recipes | 4 | 08-21-2014 12:47 AM | 
| Search and Replace Unicode characters during conversion | marcbook | Conversion | 0 | 02-09-2014 02:37 PM | 
| Find/Replace Won't Find | Rand Brittain | Sigil | 7 | 09-24-2011 05:35 AM |