I have a string. A pretty little thing, this string.
c9000002000003e803e800000000000002001a03e803e800000000000002003d03e803e800000000000002007103e803e80000000000000200e003e803e800000000000002011203e803e800000000
It is setting for a scene. I am interested in the bold parts, which is the Level/Brightness of each of the colors. At certain times, I want the brightness to change. Is there a way to use regex or some other method to "find/replace"? I could have used the string replace function in the rules, but the problem is that the current 03e8 level could be something else, but will always be followed by 8 zeros. I'd like to be able basically do =~ .{4}0{8}
The string will be minimum 2+26 characters and optional additional sets of 26 characters. Unknown number of those additional sets.
Any suggestions or pointers in the right direction?