Whatever message this page gives is out now! Go check it out!
| Escape seq | Matches | Escape seq | Meaning |
|---|---|---|---|
[\b] | Backspace. | \s | Any of the following white-space characters: space, tab, form feed, and line feed. |
\b | A word boundary, such as a space. | \S | Any character except the white-space characters matched by \s. |
\B | A nonword boundary. | \t | Tab. |
\cX | The control character Ctrl-x. For example, \cv matches Ctrl-v, the usual control character for pasting text. | \v | Vertical tab. |
\d | A digit character [0-9]. | \w | An alphanumeric character or underscore. The equivalent of [A-Za-z0-9_]. |
\D | Any character except a digit. | \W | Any character not matched by \w. The equivalent of [^A-Za-z0-9_]. |
\f | Form feed. | \n | Backreference to the nth expression in parentheses. See Backreferences . |
\n | Line feed. | \ooctal | The character represented in the ASII character table by the specified octal number. |
\r | Carriage return. | \\xhex | The character represented in the ASCII character table by the specified hexadecimal number. |
| Expression | Description |
|---|---|
[\?&]value= | Any string containing a URL parameter value. |
^[A-Z]:(\\[A-Z0-9_]+)+$ | An uppercase Windows directory path that is not the root of a drive and has only letters, numbers, and underscores in its text. |
^(\+|-)?[1-9][0-9]*$ | An integer that does not begin with a zero and has an optional sign. |
^(\+|-)?[1-9][0-9]*(\.[0-9]*)?$ | A real number. |
^(\+|-)?[1-9]\.[0-9]*E(\+|-)?[0-9]+$ | A real number in engineering notation. |
a{2,4} | A string containing two to four occurrences of a: aa, aaa, aaaa; for example, aardvark, but not automatic. |
(ba){2,} | A string containing least two ba pairs; for example, Ali baba, but not Ali Baba. |