title: javascript regex to match multiple lines
body: <p>my multiple string is something like below</p>
  
  <pre><code>###
  some content
  that I need to match
  and might have some special character in it such as | &lt;&gt; []
  ###
  </code></pre>
  
  <p>I am trying to get the content of between hashes. I have tried below regex but it is not matching to it and return null.</p>
  
  <pre><code>var regex = /### ((.|\n)*) ###/;
  var match= regex.exec(aboveContentAsString);
  console.log(match[1]);
  </code></pre>