I
Indian Offshore Company
Hi,
I want to parse html with multiple <a href> .. text...</a> tags as
follow:
"... some html... <a class="1" href="city1.html" onclick="etc."> click
for info on city1 </a> .. some html.. <a class="1" href="city2.html"
onclick="etc."> click for info on city2 </a> .. etc etc......"
I want to get value of href i.e "city1.html", "city2.html" by searching
"city1" , "city2" respectively between the <a> </a> tag.
I thing by using Regex expression I should be able to achieve this. If
any Regex guru can tell me which Regex can be used for this that would
be of great help to me.
Thanks
Dinesh
I want to parse html with multiple <a href> .. text...</a> tags as
follow:
"... some html... <a class="1" href="city1.html" onclick="etc."> click
for info on city1 </a> .. some html.. <a class="1" href="city2.html"
onclick="etc."> click for info on city2 </a> .. etc etc......"
I want to get value of href i.e "city1.html", "city2.html" by searching
"city1" , "city2" respectively between the <a> </a> tag.
I thing by using Regex expression I should be able to achieve this. If
any Regex guru can tell me which Regex can be used for this that would
be of great help to me.
Thanks
Dinesh