Overview
Data flow transformation, directing all input rows to either Match or No match outputs, based on matching with a specified regular expression.
Setup
The script has the following parameters:
- MatchColumns - the input columns to use for regular expression searching. Finding a match in any of the columns sends the row to Match output.
- Pattern - the regular expression pattern to be used.
- IgnoreCase - perform a case-insensitive matching.
- Multiline - make a per-line matching, i.e. treat
^
and$
per each line, as opposed to the whole input.
Configuration
To use this script, you would need to load it in COZYROC JavaScript Component. If you are using COZYROC SSIS+ 2.0 or later, after selecting the corresponding script type and opening the component editor, you can select the script from a dropdown list with the pre-built scripts. For COZYROC SSIS+ 1.9, you can download the JavaScript file and browse to it via the "Import JavaScript code" button.
RegEx_Match_Transformation.jsKnowledge Base
COZYROC SSIS+ Components Suite is free for testing in your development environment.
A licensed version can be deployed on-premises, on Azure-SSIS IR and on COZYROC Cloud.