You certainly don't mind making things difficult for yourself, do you?
if(preg_match("#<body[^>]*>(.*?)</body\s*>#is", $Str, $m))
$insideBody = $m[1];
else
echo "No proper body.";
With the [>]* there in case the body tag has attributes and the \s* in case of whitespace.
I believe ereg and eregi also allow capturing parts of matched expressions - but preg_match() is faster anyway. Either way, it's ("regular expression", "string being searched").