I am writing a web-clip program to extract stock quotes from yahoo finance, google finance or nasdaq. I can get an html element containing stock prices, but I only need the dollar value from the result. For example, the sample output is as follows:

I use the image here because when I posted the actual html, only dollar amounts appeared (desired results), the objects and html tags disappeared. Here is my code
I am not very familiar with regEx, but I tried, but no luck. How can I extract only the dollar amount from the issue?
source
share