Skip to content

Wild Patterns

Some attribute values allow wild patterns to be specified. You can use the following wild characters in a pattern string:

Wild Character Function
* Matches zero or more characters.
? Matches a single character.

This following examples illustrate how wild patterns work:

Pattern Description Match No Match
A* Match any string that starts with the letter A. A
AB
ABCDEFGH
B
BA
*Z Match any string that ends in the letter Z. Z
WXYZ
ZA
AZA
A??DE Match a string that starts with A, followed by exactly two characters, followed by DE. ABCDE
AXYDE
ABCDEF
AXYZDE
A*DE Match a string that starts with A and ends with the letters DE. ABCDE
AXXXXXDE
ABCDEF
* Match any string. Z
ABCDEFGH
Back to top