How can I match the price in this string?
<div id="price_amount" itemprop="price" class="h1 text-special">
$58
</div>
I want the $58 in this string, how to do that? This is what I am tring, but doesn't work:
regex = r'<div id="price_amount" itemprop="price" class="h1 text-special">(.+?)</div>'
price = re.findall(regex, string)