Find string with regular expression in python,print(pattern.search(url).group(1))