I very much doubt %d contains the entire web page, and just checked, a complete line might be more than 800 characters long orbe split up in different reads. But suppose you can somehow get the entire line you need in a single %var:
if ($regex(%d,/<div class="cnnT1Hd"><h2><a href="(.*?)">(.*?)<\/a><\/h2><\/div>/i)) {
var %url = $regml(1)
var %headline = $regml(2)
}
ps: I got this just now as only match of cnnT1Hd:
<div class="cnnT1"> <div class="cnnT1Blurb"><div class="cnnT1Hd
LS"><h2><a href="/2005/US/09/10/katrina.impact/index.html">New Katrina chief sets goals</a></h2></div><p>
The extra LS will not match above regex...
ps2: ever heard of RSS?
http://rss.cnn.com/rss/cnn_latest.rss for example?