title: Regex pattern to match emails inline reply heading
body: <p>I'm having a little trouble figuring out the pattern to identify the beginning of inline replies/forwards in an email body, there are some easier ones that simply begin with something like "Begin forwarded message" but the replies are a little more complicated:</p>
  
  <pre><code>On 12-06-13 10:56 AM, "John Doe" &lt;john.doe@some.tld&gt; wrote:
  </code></pre>
  
  <p>Obviously the constants will be "On" and "wrote:".  I'd like to be able to find only the first match and then either wrap everything after it in a div with display:none applied or even just eliminate it using substr($body,0, POSITION_OF_MATCH).  </p>
  
  <p>One of the issues I'm having is that it's not catching the FIRST occurrence, and second is that I can't get the greediness to work properly.</p>
  
  <p>My progress (having fallen back to at least a partially working version) so far is:</p>
  
  <pre><code>preg_match("/On [^&gt;]* wrote:/i",$content,$matches,PREG_OFFSET_CAPTURE);
  </code></pre>
  
  <p>Any help would be greatly appreciated!</p>