In PHP, I need to be able to figure out if a string contains a URL. If there is a URL, I need to isolate it as another separate string.
For example: \"SESAC showin t
$test = "SESAC showin the Love! http://twitpic.com/1uk7fi"; $myURL= strstr ($test, "http"); echo $myURL; // prints http://twitpic.com/1uk7fi