I've found that
```
$fragment_without_date_author = preg_replace('/\nOn(.*?)wrote:(.*?)$/si', '', $reply_message);
```
is better because it won't catch the "on...wrote:" in the middle of a sentence/paragraph.