TEXT
notmatchexact
PATTERN

The notmatchexact operator checks to see if the text on the left doesn’t match the wildcard pattern specified on the right.


Parameters

This operator has two parameters:

text – The text you want to match.

pattern – The regular expression.


Description

The notmatchexact operator is the opposite of the matchexact operator. It checks to see if the text on the left doesn’t match the wildcard pattern specified on the right. This operator is similar to the contains operator except that the ? and * characters have special meanings:

The ? character will match any single character.

The * character will match any number of characters, or no characters.

Any other characters in the pattern must match a character in the text on the left. For example if the pattern contains an x, the text on the left must contain an x in the same spot. Unlike the notmatch operator, notmatchexact is case sensitive so the pattern character must exactly match, including upper and lower case.

Here are some examples:

"Jim Johnson" notmatchexact "J*Johnson" ☞ false
"Jim Johnson" notmatchexact "j*johnson" ☞ true
"Jack Johnson" notmatchexact "J*Johnson" ☞ false
"Bill Johnson" notmatchexact "J*Johnson" ☞ true
"JJohnson" notmatchexact "J*Johnson" ☞ false
"J346 Ujohnson" notmatchexact "J*Johnson" ☞ true
"J@#opcohnson" notmatchexact "J*Johnson" ☞ false
"92685" notmatchexact "926??" ☞ false
"92685-1000" notmatchexact "926??" ☞ true
"9268" notmatchexact "926??" ☞ true
"(714) 555-1212" notmatchexact "(???) ???-????" ☞ false
"714-555-1212" notmatchexact "(???) ???-????" ☞ true

The notmatchexact function only has two special characters, making it easy to use but rather limited. For a much more powerful (and much more complicated) pattern matching operator see regexmatchexact, which uses Regular Expressions instead of simple wildcards.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but also now allows numeric as well as text parameters.