I have text that contains a zero-width character that I am not able to remove. A minimum example is in
str below where the character is at the start of the text.
str = "4-6"; res = ToExpression /@ StringSplit[StringReplace[str, WhitespaceCharacter -> ""], "-"]
Head /@ res
This character (or these types of characters) are at various locations in the imported text.
They do not appear to fall into
StringReplace does not match to them and I don't know their locations before-hand so I can't use
How do I clean these unknown zero-width character from strings?