Appearance
Includes ​
The includes rule is utilized to check if a given value contains a specified substring.
Options ​
To use the includes rule, you must provide the substring to look for within the main string. This can be either a static value or a dynamic field from the product.
Case Sensitivity ​
By default, the search is case-insensitive, meaning apple will match Apple. To enforce case sensitivity, enable the caseSensitive option.
Regex ​
You can also use regular expressions for more complex matching scenarios, enabling a versatile range of checks.
Examples ​
Basic Usage ​
In this example, we check if the product description includes the word "organic". To know if we should prefix our title with it.

Regex ​
Here, we use a regular expression to check if the product MPN includes any numerical digits. This is useful to ensure the MPN is valid.
