/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


How to use more than one single character wildcard in search?

08/13/2019 234 views

I have a standard for computer names which consists of 2 characters for support group, 3 characters for department, 3 characters of unique LU and 6 additional characters.  I want to search for the unique LU,  which would seem to be _____ABC which I would think to be 5 single characters followed by ABC, but this doesn't work.  _%_%_%_%_%ABC doesn't work.  %ABC would find it, but would also find any other computer with ABC anywhere in the name.  I really don't want to return all computers with ABC in the name and make the user choose which one is right.  Any thoughts?

2 Comments   [ + ] Show comments

Comments

  • Try systemname regex .{5}ABC
  • You are describing a search that ends with ABC, but there are six characters after the ABC, correct? Also, are you searching in the Inventory using an advanced search or with a query? Keep in mind that Smart Labels use a query in the backend, so if you are making a smart label that matters.

All Answers

0

I think flip's answer in the comments is best. In Advanced Search, you can use the comparison "matches REGEX" and use ".{5}ABC" which means "any five non-line-break characters and then the string 'ABC'"

Answered 11/14/2019 by: JasonEgg
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ