(.+)

Wenn Sie mehr.*$@imsU', $msg, $matches); $out = $matches[1]; $out = preg_replace('@@imsU', '', $out); $out = str_replace(array('

', '

'), array('
', ''), $out); $regex_nasty_duplicates = '@(
[\r\n]?){2,}@imsU'; while (preg_match($regex_nasty_duplicates, $out)) { $out = preg_replace($regex_nasty_duplicates, '
', $out); } return $out; } } ?>