Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

<this> and <this> but not <this>

I am trying to create a dynamic collection for our PCs, both desktop and laptop, in our environment, but not the desktop VMs. The naming convention for this is based on computer name:

Starts with VW1D = Desktop
Starts with VW1L = Laptop
Starts with VW1DV = Desktop VM

This is what I have so far:

But it does not remove the VW1DV from the list. Any help? Thanks!

0

Comments

4 comments
Date Votes
  • Ooh, that's a tricky situation.

    Try this:

    1
  • Oh wow! That worked great. Thanks, Colby! Is there a key somewhere that explains the different symbols available? I am guessing there is some power there I am missing.

    0
  • Regex is a pretty tricky subject. I find myself going here for help with it:

    http://www.rexegg.com/regex-quickstart.html

    0
  • Thanks. That's a great resource!

    0