Here is the devilish character ‐; inspecting it I got 3 ASCII values:
ASCII code 226 128 147
Now I want to some how use this character in my regular expression.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
None of those is an ASCII value, because the ASCII range is 0 through 127, and nothing higher. Code point U+2010 HYPHEN in UTF-8 is written with the three byte values you list there, as revealed by:
You can get the name and character properties of that code point using the uniprops script:
Other common code points with the Unicode
Dashproperty include these shown by the unichars script: