Wildcard Characters

Supported wildcards include:

Wildcard Characters for ERM

?

Any single character.

For example,'a?' would match AP, A1, etc.

*

Zero or more characters.

For example, 'a*' would match AP, A1, Altec, etc.

#

Any single digit (0-9).

For example, 'a#' would match A1, a2, etc.

[charlist]

Any single character in charlist.

For example, '1[0234]' would match 10, 12, 13, 14, etc.

[!charlist] or [^charlist]

Any single character not in charlist.

For example, '1[!0234]' would match 11, 15, 16, 17, 18, 19, etc.

A group of one or more characters (charlist) enclosed in brackets ([]) can be used to match any single character in the string and can include almost any character code, including digits.

Other important rules for pattern matching include the following:

  1. By using a hyphen (-) to separate the upper and lower bounds of the range, charlist can specify a range of characters. For example, [A-Z] results in a match if the corresponding character position in the string contains any uppercase letters in the range A-Z. Multiple ranges are included within the brackets without delimiters.
  2. An exclamation point (!) at the beginning of charlist means that a match is made if any character except the characters in charlist is found. When used outside brackets, the exclamation point matches itself.
  3. A hyphen (-) can appear either at the beginning (after an exclamation point if one is used) or at the end of charlist to match itself. If any other location, they hyphen is used to identify a range of characters.
  4. When a range of characters is specified, they must appear in ascending sort order (from lowest to highest). [A-Z] is a valid pattern, but [Z-A] is not.
  5. The character sequence [] is considered a zero-length string ("").

Other ERM Information

Sample Scripts