This node replaces strings in selected columns. The dictionary table provides the patterns to search for and the values to replace matches with. If no pattern matches, the result string equals the input string. You can choose to modify strings in-place or add the result strings in new columns.
* 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
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.
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!
Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to firstname.lastname@example.org, follow @NodePit on Twitter or botsin.space/@nodepit on Mastodon.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.