I have this Javascript regex:
body = body.replace(/[\x80-\xFF]/g,"#");
which I am hoping to use to replace characters in the table here. However I am unable to replace the characters highlighted in red on the table in that page. I couldn’t comprehend why. Can someone enlighten me on why it is happening like that and what the workaround? Thank you.
One workaround is to use a Unicode range instead, this works (for what I presume you’re trying to do) when I try it on your example page in the console: