This returns only the last occurrence in data
re.findall('data-hovercard-id="[\w\W]*"><span>([\w\W]*)</span></a',data)
Whereas this returns all occurrences in the data
re.findall('class="business-attribute[\s]price-range">([\W]*)</',data)
I can't share the data for privacy reasons, but this is scraping and old static html of yelp. Not sure if the structure is still the same.
Any ideas? I'm trying to get all occurrences for both