Help SMF by rating it on HotScripts.com, The PHP Resource Index, alexa.com and Softaculous
$row['body'] = preg_replace('~\[file name=.+?\]http.+?\[/file\]~i', '', $row['body']);
$ignore_slashes = true;