Hi everybody!
I have to set some routing rules in my php application, and they should be in the form /%var/something/else/%another_var
In other words i beed a regex that returns me every URI piece marked by the % character, String marked by % represent var names so they can be almost every string.
another example: from /%lang/module/controller/action/%var_1 i want the regex to extract lang and var_1
i tried something like
/.*%(.*)[\/$]/
but it doesn't work.....