I am trying to parse the following to get all characters to the right of the last "/". Can someone help me?

http://www.mydomain.com/abc

would return 'abc'

http://www.mydomain.com/abc/MyOtherFolder/Thg3kd

Would return 'Thg3kd'

Thanks,