I'm trying to extract the price from this line:
<div class="bpi-value bpiUSD">$634.17</div>
I would like to output:
634.17
I've tried:
sed -n "/$/,/</p"
In the hope of extracting everything between the $
and the <
but it isn't working. I'm thinking the reason for this may be that the dollar sign is being interpreted as a variable or something else. What would be the best way of doing this?