All the characters that require a backslash character to be taken literally within a pattern. : Introduction : Regular Expressions JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Regular Expressions » Introduction »

 

All the characters that require a backslash character to be taken literally within a pattern.
































































































Character Description
f Form feed
n Newline
r Carriage return
t Tab
v Vertical tab
/ Forward slash (/)
\ Backward slash ()
. Period (.)
* Asterisk (*)
+ Plus (+)
? Question Mark (?)
| Horizontal bar (|)
( Left parenthesis (
) Right parenthesis )
[ Left bracket ([)
] Right bracket (])
{ Left curly brace ({)
} Right curly brace (})
XXX ASCII character represented by the octal number XXX
xHH ASCII character represented by the hexadecimal number HH
cX The control character represented by X








HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Regular Expressions
» Introduction