Extracting the last part of the url

link.substring(link.lastIndexOf('/')+1,link.lastIndexOf('.'))

Leave a Reply