title: regex to match until word but not include that keyword
body: <p>I have this regex, the ouput is a bit strange, when i echo the body of the email is dont see line breaks but</p>
  
  <p>When i run this:</p>
  
  <pre><code>Message:(.*?)
  </code></pre>
  
  <p>Instead of it returning everything after Message it returns the whole body of the email as if its ignoring line breaks</p>
  
  <p>So i tried this and it worked</p>
  
  <pre><code>Message:(.*?)Issue
  </code></pre>
  
  <p>That captures everything from the first keyword to the last however it includes the keyword also for Issue which i dont want, how to include everything except Issue not including?</p>
  
  <p>Also when i return the string i get
  Message: this is a test\r</p>
  
  <p>Is there a better way other than running a str_replace to remove those?
  Im a bit of a regex virgin :)</p>