Extract http://www.website.com from http://www.website.com/08/2010/super-cool-article

Posted by gAMBOOKa on Stack Overflow See other posts from Stack Overflow or by gAMBOOKa
Published on 2010-05-15T10:37:59Z Indexed on 2010/05/15 10:44 UTC
Read the original article Hit count: 416

Filed under:
|
|

I suck at regex, I only managed to get so far preg_match("/http:\/\//", $url).

I need this for a php script

© Stack Overflow or respective owner

Related posts about php

Related posts about regex