Do a global search for the hexadecimal number 57 (W) in a string:
The marked text below shows where the expression gets a match:
The \xdd character is used to find the Latin character specified by a hexadecimal number dd.
If no match is found, it returns null.
The \xdd metacharacter is supported in all major browsers.