RegEx HTTP Binding, Convert on to ON / off to OFF

is it possibble to convert the return value of regex to another ?

i have: "<[ type=‘hidden’ name=‘checkMmute’ value=’([ofn])’.*)]

it returns on|off for an switch item, it hink in need ON|OFF can this be easliy coverted ?

thanks in advance

Try using the MAP transformation to convert on/off to ON/OFF either in the item file, sitemap, or create a proxy item.

Not really, not directly
By that I mean that you can "nest transformation…
So you need another item.

a new item:

Switch mySwitch

A rule:

rule "convert Switch string to state"
    myHttpItem changed