ok so i know how to write a reg expression for something more specific but i dont know how to make it more dynamic.
right now i am matching {tour:right} with this {tour:([A-Za-z0-9_]+)}
But the question is how do i write it so that i can use {tour} and {tour:right} interchangeably. the idea is that there will be a default of left set on the item in the code. but if they need to change it to right they have to use :right.
This should be simple i hope but i have not learned how to write regs like that yet. if it is possible. If not then ill just have to right our more code.
Thanks in advance