@dovid למעשה השתמשתי ברגולורי, בינתיים זה עובד טוב, פרויקט קטנטן וחובבני...
function html2txt($text) {
$text = preg_replace('/(<(script|style)\b[^>]*>).*?(<\/\2>)/is', "", $text);
$text = strip_tags($text, "<style>");
$text = str_replace("’","'", $text);
$content = preg_replace("/&#?[a-z0-9]{2,8};/i","",$text );
$content = join("\n", array_map("ltrim", explode("\n", $content)));
$content = preg_replace('/[\r\n]{4,9999}/', "\n", $content);
return $content;
}