Operators overview
Equal
Checks whether the tag value exactly matches a string. The comparison is case-sensitive, so “Value” does not equal “value”.
Note that values are compared as strings, not numbers. That is, if your tag contains “705.00” and you entered just “705” as the value to compare, they are not equal.
Not equal
The opposite of “Equal”: checks that the tag value does not exactly match a string. The comparison is case-sensitive, so “Value” and “value” count as not equal.
Note that values are compared as strings, not numbers. That is, if your tag contains “705.00” and you entered just “705” as the value to compare, they are not equal.
Greater than
If the tag contains a number, checks that it is greater than the number you set in the rule.
If the tag contains other characters besides digits, Contexta ignores them.
For example, the value “10 450,06 USD” is converted to “10450.06”.
Less than
If the tag contains a number, checks that it is greater than the number you set in the rule.
If the tag contains other characters besides digits, Contexta ignores them.
For example, the value “10 450,06 USD” is converted to “10450.06”.
Greater than or equal
If the tag contains a number, checks that it is greater than or equal to the number you set in the rule.
If the tag contains other characters besides digits, Contexta ignores them.
For example, the value “10 450,06 USD” is converted to “10450.06”.
Less than or equal
If the tag contains a number, checks that it is less than or equal to the number you set in the rule.
If the tag contains other characters besides digits, Contexta ignores them.
For example, the value “10 450,06 USD” is converted to “10450.06”.
Contains
Checks that the tag value appears as a substring of the string you specify. For example, if the tag value is “white horse”, then depending on the string you specify:
“Don’t ride the white horse” – the rule fires
“white cape for my horse” – the rule does not fire, because although the words are present, other words separate them.
Does not contain
Checks that the tag value does NOT appear as a substring of the string you specify. For example, if the tag value is “white horse”, then depending on the string you specify:
“Don’t ride the white horse” – the rule does not fire, because the string contains “white horse”.
“white cape for my horse” – the rule fires, because although the words are present, other words separate them.
Regular expression
For advanced users. Lets you search very flexibly for a substring within a string. If you want to learn how to use regular expressions, we recommend this short online course: RegexOne – Learn Regular Expressions – Lesson 1: An Introduction, and the ABCs
To test your regular expressions, you can use the regex101: build, test, and debug regex service.
Regular expression flavor: PCRE2
Exists
The rule fires if the tag contains any information at all. For example, the “price” field is filled in. What it is filled with does not matter, as long as it is not empty.
Note for advanced users: by “exists” we mean the “not Null” operator.
Does not exist
The rule fires if the tag contains NO information. For example, the “price” field contains no digits.
Note for advanced users: by “does not exist” we mean the “Null” operator.
Is one of
The rule fires if the tag value is equal to one of the listed values.
Click “+” to set a list of values. For example, you can set several brand names. If the tag value equals one of them, the rule fires.
Click
to add values as a list. Put each value on a new line.
Is not one of
The rule fires if the tag value is NOT equal to any of the listed values.
Click “+” to set a list of values. For example, you can set several brand names. If the tag value equals none of them, the rule fires.
Click
to add values as a list. Put each value on a new line.