Easy Tutorial
❮ Met Document Createtextnode Event Onscroll ❯

JavaScript RegExp \xdd Meta Character


Definition and Usage

The \xdd meta character searches for a character specified by the hexadecimal number dd.

If no match is found, it returns null.

Syntax


Browser Support

All major browsers support the \xdd meta character.


Example

Perform a global search for the hexadecimal 57 (W) in the string:

var str="Visit tutorialpro. Hello World!";
var patt1=/\x57/g;

The text marked below shows where the expression matches: World!


❮ Met Document Createtextnode Event Onscroll ❯