Using Beautiful Soup instead regex. Still need some adjustments.