Regex / How to access a specific group?

Hello,

I use a rule to extract a string from another string using regex. This is working, writing the result to a field shows “{“0”:”“Info”}". But how can I access the value of the group 0 (in this case “Info”)?

This one is not working
set_field(“my_prio”, to_string(my_field[“0”]));

Working now when writing to another field with set_field(“my_prio”, to_string(my_field[“0”]));
Writing to the same field which was used for the object before is not working as the data type is different.

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