Basically I am trying to convert xenforo's forum script database over to my custom one (dropping my use on xenforo) and their bbcode is annoying me.
I am trying to change all the url bbcode from theirs to mine with this:
$message = preg_replace("/\[url\=\'(.+?)\'\](.+?)\[\/url\]/is",
"[url=$1]$2[/url]", $message);
Basically they have single quotes surrounding the urls i don't want them but my code doesn't work.