I should get points for trying. I've grabbed some code, but I still see the "/"s in the echo!! Please help.
$bodytemp = $bodymatch[1];
//start of function
$search = array ("'<script[^>]*?>.*?</script>'si", // Strip out javascript
"'<[\/\!]*?[^<>]*?>'si", // Strip out html tags
"'([\r\n])[\s]+'", // Strip out white space
"'&(quot|#34);'i", // Replace html entities
"'&(amp|#38);'i",
"'&(lt|#60);'i",
"'&(gt|#62);'i",
"'&(nbsp|#160);'i",
"'&(iexcl|#161);'i",
"'&(cent|#162);'i",
"'&(pound|#163);'i",
"'&(copy|#169);'i",
"'&#(\d+);'e"); // evaluate as php
$replace = array ("",
"",
"\\1",
"\"",
"&",
"<",
">",
" ",
chr(161),
chr(162),
chr(163),
chr(169),
"chr(\\1)");
$body1 = preg_replace ($search, $replace, $bodytemp);
$body2 = preg_replace("/[\\.\\,\\-\\+\\(\\)\\~\\!\\$\\%\\^\\&\\*\\@\\#\\<\\>\\?\\=\\_]/","",$body1);
//end of function
$body = strip_tags($body2);
$content = stripslashes($body);
echo "$content \n\n";