Remove characters with Regex formula

Hi KNIMERs,

How could I remove from the following strings the characters between the brackets and the brackets and the space character before the left side bracket?

9050G0LBM5 (06:08:46): waiting 89.8 sec
9050G0LBMM (06:10:24): waiting 90.1 sec

Thank you in advance!

Roland

One approach is to use the String Manipulation node and the expression:
regexReplace($column1$,"\\s\\([0-9]{2}:[0-9]{2}:[0-9]{2}\\)","")

7 Likes

Thanks, works perfecy.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.