Hi I'm having trouble running the following preg_replace:
$thestring = preg_replace( '!<a href="javascrip t:radio('/0radio/
stream.php?radi oID=(.*?)') " class="radioPla y">(.*?)</a>!' ,
"[radio:\\1]", $thestring );
Can anyone help me escape the ' apostrophe? I've tried all
combinations of \ in front of the ' characters but nothing seems
to work.
Cheers,
Ciarán
$thestring = preg_replace( '!<a href="javascrip t:radio('/0radio/
stream.php?radi oID=(.*?)') " class="radioPla y">(.*?)</a>!' ,
"[radio:\\1]", $thestring );
Can anyone help me escape the ' apostrophe? I've tried all
combinations of \ in front of the ' characters but nothing seems
to work.
Cheers,
Ciarán
Comment