Hi,
I wanted to ask If replacement regex will work in normal knime Nodes (without JavaScript)?
like for example, i want to replace ‘x’ by ’ pix by ’ & end with ‘pix’ as shown in the bellow example.

this is what I am trying in string manipulation node
And the result I am getting is

and this is what I tried in String replacer node
and the result was

takbb
2
Hi @Loke2707
I initially thought this was due to needing double-backslash but I’ve changed my mind!
Try this instead:
regexReplace($column1$,"([0-9]+)x([0-9]+)" ,"$1 pix by $2 pix" )

6 Likes
I see, so this works as a group reference in knime, Thanks @takbb for your quick response
2 Likes
system
Closed
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.