Hey. Through sockets I have aquired the souce of a CNN webpage. (http://cnn.com/WORLD to be exact). The source is saved in %d. So, ive been trying to figure out how to aquire that top headline, and the link of it. This way I can message a chan the headline and the link so they can read the article. This is what contains those items:

<div class="cnnT1Hd"><h2><a href="*">*</a></h2></div>

The first wildcard contains the link, the second is the Headline text. For an example, this is the one at the time i began working on the script:

<div class="cnnT1Hd"><h2><a href="/2005/WORLD/meast/09/10/iraq.main/index.html">Tal Afar drive targets insurgents</a></h2></div>

So, how might I be able to read those wildcards so I can msg them to a channel? I think this involves $regex, which I have no knoledge of. Can someone help me? TIA!

Thanks,
Austin


-- HAMM3R (aka: alhammer)
http://www.HAMM3R.net