*メニュー編集
$str = preg_replace("|(https?)(://[[:alnum:]\+\$\;\?\.%,!#~*/:@&=_-]+)|", "<a href=\"$1$2\">$1$2</a>", $str);
$str = preg_replace("|([[:alnum:]\+\./_-]+)@([[:alnum:]\._-]+)|", "<a href=\"mailto:$1@$2\">$1@$2</a>", $str);