I am looking for a piece of PHP code that returns URL's found in piece of text. I need it to recognize the urls in the following example (found in an RSS feed), which my current code can't handle.


<a href="http://www.michaelverdi.com/video/watermark.mov"target="_blank"><img src="http://www.michaelverdi.com/images/watermark.jpg" border="0" /></a> <br />That's right, I spent all weekend at my computer for your viewing pleasure.

# Dec 11, 2004