I\'m working on an email piping script that needs to save just the reply content and not the original quoted email. I\'m using a mime parser class (http://www.phpclasses.org
This might be doable with a regular expression. Try:
$text = preg_replace('#(^\w.+:\n)?(^>.*(\n|$))+#mi', "", $text);