WILD-CARD CHARACTER

Here’s a list of all possible wild-card characters when searching for names or text strings within product features.

CharacterDefinition
# (Pound)Matches any numeric digit
@ (At)Matches any alphabetic character
. (Period)Matches any non-alphanumeric character
* (Asterisk)Matches any string and can be used anywhere in the search string
? (Question mark)Matches any single character; for example, ?BC matches ABC, 3BC, and so on
~ (Tilde)Matches anything but the pattern; for example; ~*AB*matches all strings that don’t contain AB
[ ]Matches any one of the characters enclosed; for example, [AB]C matches AC and BC
[~]Matches any character not enclosed; for example, [~AB]C matches XC but not AC
[-]Specifies a range for a single character; for example, [A-G]C matches AC, BC, and so on to GC, but not HC
` (Reverse quote)Reads the next character literally; for example, `~AB matches ~AB

Note: Support for the list of wild-card characters above is not available in all product features.

How to Count Blocks with Wildcard Specifications

Sometimes you’ll need to count blocks using a general name pattern. The most common wildcards used are “?” for a single character and * for any number of characters. For example, you can search for all the blocks beginning with the letter B using B, and all the blocks that have 4 as their second character using ?4.

  • Start the QSELECT command again, this time specifying a Wildcard Match with the Value: B* as shown below and click OK.

All blocks beginning with B are selected as shown below.

  • Press Esc to clear the selection set, and repeat the operation, except use ?4* in the Value field and click OK.

All instances of blocks A410 and B464 are selected and an accurate count is displayed in the Command window.

Read more