Analytics builder expression

Hi,

I need an expression in analytics builder which takes the following string example as an input (input example: “[Worker] in”) and provides as an output the content between "[ ] "only (output example: “Worker”)

is it possible to achieve it using expression object or any other analytics builder object?

Discussed privately, this should do the job:

input1.substring(input1.find("[") + 1.integralPart(), input1.find("]"))