I have the next string "/1234/somename" and I would like to extract the "somename" out using regexp.
I can use the next code to do the job, but I would like to know how to do the same with RegExp.
mystring.substring(mystring.lastIndexOf("/") + 1, mystring.length)
Thanks