Rule type Regular Expression

Use this rule type to extract a value from a transaction field according to a regular expression. If the regular expression rule is used for a checkbox field, the checkbox field is checked if a match can be found. For example, let’s say you want to mark all transactions with the word ‘GIFT' in the payment reference. First, you create a ‘Has Gift’ checkbox custom field on Transaction, and then, using the Regular Expression rule type, create a rule with regular expression ‘GIFT’.

Guided Matching regular expression

Regular Expression setup

SettingDescription
Input FieldField from which a value is extracted using a regular expression.
Regular ExpressionA regular expression is a string that is used to match another string using a specific syntax. For further information, please refer to Oracle documentation. A nice tool and playground is RegExr.
Multi-Value?If checked, all matched patterns are returned comma separated. If the total string is longer than fits in the Results field, only what fits is stored.
Capturing GroupFinDock uses the REgEx outcome of the defined capturing group to store on the Transaction field. See this Salesforce developer doc
Example InputExample text for the regular expression and capturing group. This is for testing and verifying that the regular expression behaves as expected.
Capturing GroupsAll the resulting capturing groups given the specified regular expression and example input.
ResultThe result given the calculated capturing groups and the specified capturing group.

Was this page helpful?