Automation Center Documentation

CLI Wildcards

From OpsWise Documentation Wiki

The command line interface supports regex wildcards, as described in the table below. When searching for record names that include embedded spaces, such as a trigger called "Every Hour" replace each space with a period (.)

Syntax Description
.* 
Matches on any occurrence of anything to the end of string.
abc.*
Matches on any occurrence of "abc" to the end of string.
^abc.*
Matches on any occurrence of "abc" at the start of string.
.*abc$
Matches on any occurrence of "abc" at the end of string.
.*gge.*
Matches on any occurrence of a character followed by "gge".
"(.*Dir$|.*uname.*)"
Locates Dir at the end AND uname anywhere (must use "").
Personal tools