30 Jul 2021 12:59 PM - last edited on 03 Aug 2021 12:56 AM by MaciejNeumann
I would need some help in defining a tagging rule that can match the set of hosts and assign tag to them.
The hostnames could be like below,
host1, host2, host3, server1, server2, machine1, machine2
and the expression I tried was
host|server|machine bot it matches only host1 host2 and host3.
Please help me to build RegEx that can match all listed hosts
Solved! Go to Solution.
Try placing the regex in parentheses like this: "(?>host|server|machine)"
Also, make sure you are selecting Host Name contains regex.
Please see the screenshots below for how I was able to mimic this functionality. Hope this helps!
Great it worked Ryan. Thanks for helping me out.