Word Find and Replace ZERO-WIDTH-SPACE (ZWSP, U+200B)

5,406

Solution 1

If you run charmap, you should be able to find the character you are trying to input.

You can then copy it and paste into Word's search box.

This will work for other obscure characters when you can't find and highlight an instance of the character in the text so as to copy from there and paste into the search box.

Solution 2

Zero-width spaces (U+200B) are referred to in Word's Find (but not Replace) as ^u8203, which is easier than getting it from CharMap (though for Replace I know no other way).

Actually, zero-width spaces inserted by Word 2003 and 2007 Insert Symbol are U+200C (^u8204 in Find), not U+200B. In Windows XP (where I use Word 2003), CharMap can't even find U+200B. Windows 7 CharMap describes U+200B as "Zero Width Space" and U+200C as "Zero Width Non-Joiner". Word 2007 uses the latter, same as 2003. Both characters seem to do the job.

This article has some more info: How to make URLs wordwrap in Word.

Share:
5,406

Related videos on Youtube

cjbarth
Author by

cjbarth

Updated on September 18, 2022

Comments

  • cjbarth
    cjbarth over 1 year

    I have pasted some text in my document with ZERO-WIDTH-SPACEs (ZWSP, U+200B) in it, and I'd like to remove them. However, I can't seem to paste it into the Word Find and Replace box and there doesn't seem to be a special character listed for that Unicode character. How can I find and remove all instances of this character?

    • AFH
      AFH about 6 years
      Can you find it in charmap and copy and paste from there?
    • cjbarth
      cjbarth about 6 years
      Yes. Please post that as an answer and I'll mark it correct. @AFH
  • cjbarth
    cjbarth about 6 years
    As a side note, I could find it in the document to copy it, but Word wouldn't copy the ZWSP, even when I copied surrounding chracters, so I couldn't paste it into the search box.
  • AFH
    AFH about 6 years
    Interesting comment.