I have a .js file. This is a javascript file with text like below. I want to extract all of the href URLs and add them to a variable inside a loop for processing further. How can I do this? Thanks very much.
document.write('<tr bgcolor="#6691BC">'); document.write('<td
width="15" height="25"> </td>'); document.write('<td width="690"
height="25" class="headertext">');
document.write('<a href="../myspace.com/index.html" class="headerLink"
style="color: #ffffff;">My Space</a> | ');
document.write('<a href="../technotes.com/index.html"
class="headerLink" style="color: #ffffff;">Tech
Notes</a> | ');
document.write('<td width="15" height="25"> </td>');
document.write('</tr>');