If I have to extract values of certain attributes from the HTML page source. For ex:
If I want to get the value of address?
<span class="address">413 W. Street</span></span><br>
EDIT: Sorry I understood the question wrong. I tried deleting this question but wasnt able to. I have posted new question here: https://stackoverflow.com/questions/9144544/regular-expressions-for-different-attributes