title: Proper regular expression for server error message
body: <p>I am making an Ajax call, and I am getting an error from the server.</p>
  
  <p>Now the problem is I am getting the below message.</p>
  
  <pre><code>HTTP Status 756 - Error while processing the request.
  
  --------------------------------------------------------------------------------
  
  type Status report
  
  message Error while processing the request.
  
  description Cannot find message associated with key http.756
  </code></pre>
  
  <p>And I want to get only the error message from the complete error report, not all the text above. How can I do that?</p>
  
  <p>But the actual response is </p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.0.28 - Error report&lt;/title&gt;&lt;style&gt;&lt;!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 756 - Error while processing the request.&lt;/h1&gt;&lt;HR size="1" noshade="noshade"&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt; Status report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt; &lt;u&gt;Error while processing the request.&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt; &lt;u&gt;Cannot find message associam&lt;D‡üñÔE(1@@ähttp.756&lt;/u&gt;&lt;/p&gt;&lt;HR size="1" noshade="noshade"&gt;&lt;h3&gt;Apache Tomcat/5.0.28&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;​
  </code></pre>
  
  <p>From where I want to get the error message.</p>