Hi everyone, I'm trying to replace video{79345394} (random number inside the brackets) with a link. So far I have...
preg_replace('@video[{]([0-9])[}]@', $language[61].'<br /><a href="javascript:videoWith($1);">'.$language[62].'</a>', $chat_message);
It doesn't seem to be working, so help is very much appreciated!