Find string with regular expression in python,print(url.split('/')[-1].split('.')[0])