)/is'; $local_url = UrlServer::getFileUrl(); return preg_replace($preg, "\${1}$local_url\${2}\${3}",$value); } }