Hi I'm trying ti check if a text containing an URL is it that simple as looking for http://
or www. or am I missing something here?
also if I want to add the the www to the same regex how can I add in  regex1 or regex 2 ( in this case http://
$match = preg_match('/http:\/\/(.*)/s','', $text);