I'm struggling with the following situation. I want to extract the values from the URL currently in the browser. So, when somebody visits a page with the URL http://www.somedomain.com/xx-some-name-here
I would like to extract the some-name-here and convert it to Some Name Here.
I haven't worked with regex but I think thats what I need. Any help or pointers are appreciated.