Using Multiple and Dynamic RegEx Filters
This topic introduces how to use multiple and dynamic RegEx filters.
1. Developers can use two or more consecutive RegEx Filter elements:
In this case, the matches will be evaluated sequentially, based on their arrangement from top to bottom in the element tree. So, after the first RegEx Filter is applied, only records that match its pattern will remain in the datalayer to be matched to the second RegEx Filter.
2. The RegEx Filter element also has an Include Condition attribute:
If the value of this attribute is left blank or contains a formula that evaluates to True, the element is applied to the datalayer. If the value evaluates to False, the element is ignored and does not affect the datalayer. This powerful feature allows developers to dynamically determine if the datalayer will be filtered or not.