^
Matches the beginning of the string or line.
$
Matches the end of the string or line.
\b
Matches the word character or position at the end of a word.
\B
Matches a word character or position that is not at the end of a word.
i
Makes the expression case insensitive.
g
Ensures that the expression does not stop on the first match.
m
If not enabled, line start and end equals the beginning and end of the entire string. It doesn't work for each row individually.
()
Groups an expression.
\1
References a grouped expression.
(?:)
Makes a grouping that cannot be referenced.
[abc]
Matches any character in the set.
[^abc]
Matches any character not in the set.
[a-z]
Matches all characters between two characters, including themselves.
.
Matches any character except line breaks.
\w
Matches any alphanumeric character. Including the underline.
\W
Matches any non-alphanumeric character.
\d
Matches any numeric character.
\D
Matches any non-numeric character.
\s
Matches any whitespace character.
\S
Matches any non-whitespace character.
(?=)
(?!)
(?<=)
(?<!)
+
Expression matches one or more.
*
Expression matches zero or more.
{1,3}
Expression matches within specified ranges.
?
Makes the expression optional.
|
Or it works like. It waits for one of the expressions it reserved to match.