Hi everyone
i’m new Knime user,
anyone can suggest me any effective nodes to solves this problem :
col1
216520000000004
216521300000006
2165277B1000003
2165212D1000007
216524200000004
etc
expected new col
65200
65213
65277B1
65212D1
65242
i used to solved this in excel with function
=IF(OR(MID($A1,8,1)=“B”,MID($A1,8,1)=“D”),MID($A1,3,7),MID($A1,3,5)).
alternatively you can use regexReplace() function available both in String Manipulation and already mentioned Column Expressions node. Here is expressions I used: