Js control character

155555555555

copy the above numbers. When ASCII is transferred to Unicode, it is found that &-sharp8237

is added before it.

Baidu is forced by LRO from left to right

I would like to ask js how to deal with this kind of control characters, delete only pure numbers


&-sharp8237= > 8237 is that what you mean?

"& -sharp8237".replace(/[^\d]/g, "");

Menu