I have a URL like this:
http://www.example.com/Catalog/Category/Detail
http://www.example.com/Catalog/Products/12
Now, I want to extract the /Catalog/Category/Detail
and /Catalog/Products/12
part so I can append with some other base url. How can I do that easily?