I have following URL:
myUrl?path=123¶m=val
Can you help me to write regular expression which will return path value. i.e
123
at this case?
P.S.
I have
REQUEST_URI
and QUERY_STRING
arguments.
P.S.
more global goal:
rewrite following url:
site.com/cat1/cat2?path=val¶m=ololo
to
site.com/cat1/cat2/val
P.P.S
I have read following answer:
https://stackoverflow.com/a/2252242/2674303
but there are a bit another situation.