website_list = [
'https://www.zillow.com/62347390?location=Chicago%2N%23253',
'https://www.zillow.com/82983250?location=Boston%3B%53324',
'https://www.zillow.com/12917837?location=Miami%7K%26345',
]
How does one create a python function (e.g. city_finder()) such that we get the following output when given website_list as input?
>>> city_finder(website_list)
['Chicago', 'Boston', 'Miami']
location=([^%]+)and grab the first group, see regex101.com/r/aSJxn7/1