title: How to make dot match newline characters using regular expressions
body: <p>I have a string that contains normal characters, white charsets and newline characters between &lt;div&gt; and &lt;/div&gt;.</p>
  <p>This regular expression doesn't work: <code>/&lt;div&gt;(.*)&lt;\/div&gt;</code>. It is because <code>.*</code> doesn't match newline characters. How can I do this?</p>