Trying to isolate a link from IRC messages
===

I Have an IRC bot I'm working on, and one of the features I would like it to have is to take any link a person posts and use BeautifulSoup to parse that page. Now, I have the bot working, getting the messages people post, etc. But, how would I pull a link from the IRC message? Say someone says this:


Person: Check out http://www.site.com, it's cool!

How would I take the link out and assign it to a variable for later use, without pulling the other parts of the message?

I think it's something to do with regexs, but I'm not sure. 