Other Resources:
Escape sequence - Character in hexadecimal \x.. \x{..}
What is the escape sequence for a character written in hexadecimal format?
How to write a regular expression to capture the escape (Backslash) \ character in a string like: \x5C
✍: FYIcenter.com
The escape sequence for any character in hexadecimal format is '\x..' or \x{..}, '..' is the 2 hexadecimal digits. For example:
\x33 - matches '3' character \x0D - matches the Carriage Return character \x{0A} - matches the Line Feed character
The regular expression to capture the escape \ character is:
\x5C
\x5C - matches the Backslash character \ using hexadecimal digits
2013-01-26, 0👍, 0💬
Popular Posts:
How to write a regular expression to parse key-value entries from Windows .INI files? Here is an exa...
All credit card numbers issued by JCB have 3 sets of numbers: JCB cards start with 2131 have 15 digi...
All credit card numbers issued by American Express must start with 34 or 37 and have 15 digits. For ...
A free online regular expression test tool that allows to try you regular expression pattern and see...
All credit card numbers issued by JCB have 3 sets of numbers: JCB cards start with 2131 have 15 digi...