Jump to content

Regexp Object Metacharacters \xxx \xdd \uxxxx


Athlon
 Share

Recommended Posts

<html><body><script type="text/javascript">var str="Visit W3Schools. Hello World!"; var patt1=/\127/g;document.write(str.match(patt1));</script></body></html>

is the number 127 a code from the UTF-8 charset or from other charsets ? i have to type the numbers of charset in different numeric systems, hexadecimal and octal ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...