Replace Character from string in rule

Hi there,

I successfully get the string from my item into a variable (item.state)

Unfortunately this string uses “:” and I need “_” for the usage as filename.

Has anyo an idea to replace the : with _ within a rule?

String can look like this and all «:» have to be replaced

1:0:19:1331:3EF:1:C00000:0:0:0:

thank you

You would need to split the string and rearrange it from the array with the “_” between the elements.
Or you would need to replace the"." by a “_”

The links show examples how to do it.