I am using permanent urls for Kentico's media selection in a custom webpart. What I want is the GUID from the url it shows, so I can get the media's info from the data base (using file media provider).
This is an example of the URL
~/getmedia/998dd0ab-10d3-4cc1-bfbd-8e7bec48cf8c/sample_doc.doc
What I need is the 998dd0ab-10d3-4cc1-bfbd-8e7bec48cf8c
number. I tried every helper with no success.