I have a really silly problem with a Tasker variable that I'm struggling with. I'm hoping it's a really easy one to resolve! I want to set my variable to a number (using only numbers 0-9) that's either 1, 2 or 3 digits long. It's for a dimmer command for AutoHue. I want to be able to say "Set the lighting to XX%" (where XX will be a number between 1 and 100). I have set up my filter (using regex) as follows: Set the lighting to (?<value>.+) Note that the "%" symbol is not part of my filter and I have not forced it to use [0-9] - if I had, it wouldn't work, because Google Now automatically adds the % symbol to the end of the same variable value, so my variable ends up as XX%. I could just say "Set the lighting to XX", but I don't want to have to leave it out because it doesn't sound right and is harder to remember. So all I want to do is remove that last "%" symbol from the variable value. Any idea how? I've tried the split using the "%" symbol as the splitter, but that doesn't seem to work :-S I could use a variable section, but I don't know if my value is going to be 1, 2 or 3 digits long. Many thanks in advance!