Overview
This page documents an importable Data Integrator example configuration (register.configuration.json) named [Example] - Common PCRE Expression (identifier example-common-pcre-expression). It is not built to solve one specific integration; it is a reference snippet consultants can copy into a real flow and adapt.
The configuration is a plain
list-transformer object, so it can be imported directly into an environment and inspected transformer-by-transformer in the flow builder.data transformer containing a single value-setter. Each configuration entry pairs a sample input value with a string-regex-replace mapper, so the example doubles as a live preview of the pattern.
Alumio’s regex mappers use PCRE syntax, not JavaScript regex. Patterns are wrapped in
/ / delimiters and, unlike JavaScript, a match replaces all occurrences by default, no trailing g flag needed. Inline modifiers such as (?i) (case-insensitive) can be embedded directly in the pattern, as used in the country filter below.String cleanup and extraction patterns
Filter use case: validation flags
Bundled test fixture
The configuration ships with atransformer-test fixture (example-common-pcre-expression--sample-common-pcre-expression) that runs the whole chain against one sample record:
true. The fixture’s expected field is left as an empty placeholder ([[]]) in the source example, so anyone copying this test should fill in the actual expected output for their adapted flow before relying on it as a regression test.