regex quick reference
Example |
Description |
---|---|
|
A single character of: a, b, or c |
|
Any single character except: a, b, or c |
|
Any single character in the range a-z |
|
Any single character in the range a-z or A-Z |
|
Start of line |
|
End of line |
|
Start of string |
|
End of string |
|
Any single character |
|
Any whitespace character |
|
Any non-whitespace character |
|
Any digit |
|
Any non-digit |
|
Any word character (letter, number, underscore) |
|
Any non-word character |
|
Any word boundary |
|
a or b |
|
Zero or one of a |
|
Zero or more of a |
|
One or more of a |
|
Exactly 3 of a |
|
3 or more of a |
|
Between 3 and 6 of a |
|
Escape character |