I'm writing a web page parser with VB.NET. I need to use regex to find the info I'm looking for, but have zero regex experience.
I need to find the following lines:
and
And just pull out the numbers with the decimal (119.99 or 20.00)
Right now I'm using this regex code:
And it returns:
$119.99</span>
When i want it to return just 119.99
The page I'm pulling from is
I need to find the following lines:
Code:
<span class="pricing">$119.99</span>
and
Code:
<span class="rebate">$20.00</span>
And just pull out the numbers with the decimal (119.99 or 20.00)
Right now I'm using this regex code:
Code:
"pricing"">*(?:""(?<1>[^""]*)""|(?<1>\S+))"
And it returns:
$119.99</span>
When i want it to return just 119.99
The page I'm pulling from is