title: Getting string from another string in Javascript
body: <p>Please note that this is not a json object :) My string is:
  <code>{&quot;message&quot;:&quot;***error in SAP module:-1***&quot;,&quot;status&quot;:400}</code>
  This is not a json object, this is a pure string. I cannot turn it into a json object due to technical limitations.</p>
  <p>So, I want to take only the bold string (all the value of &quot;message&quot;).
  I thought about lastIndexOf, and pick the string between &quot;:&quot; and &quot;,&quot;
  But I got messed up with the escape characters for the quotes.
  How can I achieve it with lastIndexOf? Or in another better way?</p>