
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
Match Unicode character specified by the hexadecimal number XXXX.
To match a Unicode character specified by the hexadecimal number xxx with JavaScript Regular Expression, use the following −
\uxxxx
Example
You can try to run the following code to match the hexadecimal number character xxxx. It matches the hexadecimal number 53 i.e. S −
<html> <head> <title>JavaScript Regular Expression</title> </head> <body> <script> var myStr = "Secure and Responsive!"; var reg = /\u0053/g; var match = myStr.match(reg); document.write(match); </script> </body> </html>
- Related Articles
- Indicate whether the specified Unicode character is white space in C#
- Check whether the specified Unicode character is a punctuation mark in C#
- Convert the value of the specified string to its equivalent Unicode character in C#
- How to fetch character from Unicode number - JavaScript?
- With JavaScript RegExp search a hexadecimal number character.
- Check whether the specified Unicode character is a letter or a decimal digit in C#
- How to return a number indicating the Unicode value of the character?
- Python Program to replace the string by specified character
- Check whether the Unicode character is a separator character in C#
- PHP – How to return character by Unicode code point value using mb_chr()?
- How to print Unicode character in C++?
- Check whether the Unicode character is a lowercase letter in C#
- Unicode Byte Order Mark (BOM) character in HTML5 document.
- Match any single character outside the given set.
- Match any single character in the given set.

Advertisements