Hi, I have an cfhttp var, which will contain about 40 of the following blocks of code:
<p><a href=link1.cfm><b>Apples and Pears</b></a> <font size=-1> - <a class=s href=codelink.cfm><b>Code Indicator</b></a> - Seventy Four</font> >From each block, I need to grab the first link (link1.cfm in this example) and the first text (Apples and Pears in this case). Each of these will then be added to 2 seperate lists, and inserted into a DB (so that link1.cfm and Apples and Pears are both added to the same DB record - I think this is the best way to do it). How, though, can I loop through *all* of the cfhttp var - refindnocase? - and add each valid link and text to their respective lists? So far, I've been able to pull link1.cfm (by searching for "<p><a href=" and not just "<a href=" because there will be other links in the code that I don't need) but nothing else. Any pointers would be appreciated Thanks Will ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

