On … wrote:, and
strips the following quoted lines beginning with >.
Inputs
Outputs
This is a best-effort text cleanup, not a complete email parser. Reply markers
vary across mail clients and languages, so unmatched history can remain.
Example
Troubleshooting
Quoted text remains
Quoted text remains
The cleaner recognizes the common
On … wrote: pattern followed by
newline-prefixed > quotes. Other formats, HTML replies, and custom
signatures are left unchanged.