Regex How to Include and Exclude in same expression
select all hosts that have sjc but should not have nm in them.
This can be required in Distribution manager, nas alarm filters etc. You can use following regex to include certain characters in a name while excluding which have certain characters you don't want to include. Like in following example:
If you want to get the ones which have "sjc" but not "nim" in them, use follwoing regex:
Release: CNMSPP99000-8.47-Unified Infrastructure Mgmt-Server Pack-- On Prem