This is probably a bulky and perhaps not quite correct way to do this, but it appears to work...
on *:text:*:#firstchan: {
if ($regex(website,$1-,(((http|ftp|irc)://)?+(([a-zA-Z]*)+\.)?+[a-zA-Z0-9_-]+\.[a-zA-Z]{2,4}(/+[a-zA-Z0-9_\./?=-]*)?))) == 1) {
msg #newchan $regml(website,1)
}
}
This will just message the URL and not the entire line of text
Like I said, this can probably be simplified and made better... I'm trying, tho.