Please don’t do that… little Unicode BABY ANGEL
s like this one ๐ผ are dying! โโกโ (โ these are not images) (nor is the arrow!)
โบ
And you are killing 20 years of DOS ๐ (the last smiley is called WHITE SMILING FACE
… Now it’s at 263A
… But in ancient times it was ALT-1
)
and his friend
โป
BLACK SMILING FACE
… Now it’s at 263B
… But in ancient times it was ALT-2
Try a negative match:
Pattern regex = Pattern.compile("[^A-Za-z0-9]");
(this will ok only A-Z
“standard” letters and “standard” 0-9
digits.)