Page 1 of 1

PHP preg_replace URLs

Posted: Sat Dec 06, 2003 9:06 am
by Cwin
I cant work out how to use preg functions.
Can somebody please help me.

I want the thing in bold to be returned:
http://www.google.com/images/logo.gif
http://forums.devnetwork.net/templates/subSilver/images/logo_phpBB.gif

So basically i want the host returned.

Thanks, cwin

Posted: Sat Dec 06, 2003 10:13 am
by Nay