Replaced regex with BeautifulSoup
Removed re import