The following table provides an overview of the special symbols in regular expressions:
Symbol |
Meaning |
---|---|
|
Match the corresponding letters literally |
|
Match the corresponding numbers literally |
|
Match one of the characters inside the braces |
|
Match any character that is not inside the braces |
|
Match one of the characters inside the range |
|
Match a digit |
|
Match a non-digit |
|
Match a letter, number, or underscore |
|
Match anything that is not a letter, number, or underscore |
|
Match any character except a newline |
|
Match a newline |
|
Match an actual dot (the backslash escapes the next character) |
|
Match the preceding item zero or one time |
|
Match the preceding item zero or more times |
|
Match the preceding item one or more times |
|
Match the preceding item three times |
|
Match the preceding item three to six times |
| |
|
Match the preceding item up to six times |
|
Match at the beginning of the text |
|
Match at the end of the text |
| |
|
Match one of the alternatives |