in reply to Remove u200b unicode From String
If the string really does contain the character 0x200B, you can use any of the following:
s/\x{200B}//g s/\N{U+200B}//g s/\N{ZERO WIDTH SPACE}//g
The last may require use charnames qw( :full );.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remove u200b unicode From String
by phildeman (Scribe) on Jul 25, 2024 at 03:50 UTC | |
by NERDVANA (Priest) on Jul 25, 2024 at 08:06 UTC | |
by ikegami (Patriarch) on Jul 25, 2024 at 13:40 UTC | |
by mldvx4 (Hermit) on Jul 25, 2024 at 07:09 UTC |