Match Nonprintable Characters
ASCII control characters
Seven commonly used ASCII control characters can be escaped by:
- escape like
\a
- hex like
x07
Character | Meaning | Hex |
---|---|---|
\a | alert | 0x07 |
\e | escape | 0x1B |
\f | form feed | 0x0C |
\n | new line | 0x0A |
\r | carriage return | 0x0D |
\t | horizontal tab | 0x09 |
\v | vertical tab | 0x0B |
click to check all ASCII control characters
Control Character | Description | Keymap (Ctrl +) | Regex | Explanation |
---|---|---|---|---|
NUL | Null Character | ^@ | \c@ | Ctrl + @ |
SOH | Start of Header | ^A | \cA | Ctrl + A |
STX | Start of Text | ^B | \cB | Ctrl + B |
ETX | End of Text | ^C | \cC | Ctrl + C |
EOT | End of Transmission | ^D | \cD | Ctrl + D |
ENQ | Enquiry | ^E | \cE | Ctrl + E |
ACK | Acknowledge | ^F | \cF | Ctrl + F |
BEL | Bell | ^G | \cG | Ctrl + G |
BS | Backspace | ^H | \cH | Ctrl + H |
TAB | Horizontal Tab | ^I | \cI | Ctrl + I |
LF | Line Feed | ^J | \cJ | Ctrl + J |
VT | Vertical Tab | ^K | \cK | Ctrl + K |
FF | Form Feed | ^L | \cL | Ctrl + L |
CR | Carriage Return | ^M | \cM | Ctrl + M |
SO | Shift Out | ^N | \cN | Ctrl + N |
SI | Shift In | ^O | \cO | Ctrl + O |
DLE | Data Link Escape | ^P | \cP | Ctrl + P |
DC1 | Device Control 1 | ^Q | \cQ | Ctrl + Q |
DC2 | Device Control 2 | ^R | \cR | Ctrl + R |
DC3 | Device Control 3 | ^S | \cS | Ctrl + S |
DC4 | Device Control 4 | ^T | \cT | Ctrl + T |
NAK | Negative Acknowledge | ^U | \cU | Ctrl + U |
SYN | Synchronous Idle | ^V | \cV | Ctrl + V |
ETB | End of Transmission Block | ^W | \cW | Ctrl + W |
CAN | Cancel | ^X | \cX | Ctrl + X |
EM | End of Medium | ^Y | \cY | Ctrl + Y |
SUB | Substitute | ^Z | \cZ | Ctrl + Z |
ESC | Escape | ^[ | \c[ | Ctrl + [ |
FS | File Separator | ^\ | \c\ | Ctrl + | |
GS | Group Separator | ^] | \c] | Ctrl + ] |
RS | Record Separator | ^^ | \c^ | Ctrl + ^ |
US | Unit Separator | ^_ | \c_ | Ctrl + _ |