Reserved characters

Prev Next

The following characters are reserved for regular expression control. They must be escaped; that is, prefixed with backslash (\) when they appear as part of a normal matching pattern (that is, not part of an expression), except where noted otherwise.

Name Symbol Proper Syntax
backslash \ \\
dot (period) . \.
pipe | \|
dash (hyphen) - \-
carat ^ \^
dollar symbol $ \$
open paren ( \(
close paren ) \)
open bracket [ \[
close bracket ] \]
Pattern Read as:
(text) text
\(text) \(text\)
www.trellix.com www*trellix*com, where * is a single wildcard
www\.trellix\.com www.trellix.com