Regex split to split only numbers inside the brackets

Hi,
I am not able to split only numbers inside the brackets. I don’t want to split letters inside the brackets.

image

For example, I need to split column “input” as column “split_0” and “split_1”

Hello @manojke1979,

give this expression a try in Regex Split node:
(.*)\((\d+)\)

You can remove plus sign after d if you’ll always have one digit and you can add \s after first capturing group if there is always space preceding number(s) in brackets and you want to remove it.

Br,
Ivan

3 Likes

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