I have a string that looks like:
$string = \'http://google.com\';
How can I remove the http:
http:
$string = 'http://google.com'; $var = str_replace('>http://','>',$string);
Just tried this in IDEone.com and it has the desired effect.