Hello,
I don't understand what is your problem, explain better
And, your regex looks wrong, this part ([on,off]+) should be (on|off) (and also you could replace [0-9] by \d)
Hello,
I don't understand what is your problem, explain better
And, your regex looks wrong, this part ([on,off]+) should be (on|off) (and also you could replace [0-9] by \d)