\s*(.*)<\!--'.$siteijouken.'-->!s'; //print $Pattern."
\n"; if (preg_match("{$Pattern}", $str, $res)){ $nakami = str_replace("img src=\"/", "img src=\"http://www.yousports.jp/", $res[1]); $nakami = str_replace("a href=\"/", "a href=\"http://www.yousports.jp/", $nakami); $nakami = str_replace("", "
", $nakami); //print $nakami; return $nakami; } }; ?>