Hi,
Hoping someone can help...
I have a variable $var which contains "order" then a 3 digit number followed by "_q". This is within a repeat loop.
So examples of variable values might be:
order956_q, order123_q or order333_q, etc...
Basically what I need is if the variable begins with order, has 3 digits after, and end in _q then change the variable value to "Quantity". N.B. It must begin with "order".
Would anyone know any code that would do this?