This node replaces strings in a selected target column. In the configuration dialog, a pattern and a replacement text are specified. If the pattern doesn't match, the result string equals the input string. You can choose to modify strings in-place or add the result strings to a new column.
* to zero or more arbitrary characters and matches
? to any single character.
\?
will match the literal character ? instead of an arbitrary character. In order to match a
backslash you need to escape the backslash, too (\).$1 to refer to the first capture group,
named capture groups can also be used with (?<group>) and ${group} to refer to
them)..*, an empty string at the end
of the input is also matched and replaced. To avoid that, use e.g. the pattern ^.*
to indicate that the match has to start at the beginning of the string.
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension KNIME Base nodes from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!