I am trying to look through a very long string in Python and I am looking for the value that is in
<p class="price">$VALUE USD</p>
I am currently doing
look = "<p class=\"price\">";
print(site.text.find(look));
Because the will always be there but I am looking for the value of the rest of the line. The value is always changing too so it needs to be flexible. At the end I hope to be able to save something like
<p class="price">$2345.22</p>
to a string.