title: How do we match any single character including line feed in Perl regular expression?
body: <p>I would like to use UltraEdit regular expression (perl) to replace the following text with some other text in a bunch of html files:</p>
  
  <pre><code>&lt;style type="text/css"&gt;
  
  #some-id{}
  
  .some-class{}
  
  //many other css styles follow
  
  &lt;/style&gt;
  </code></pre>
  
  <p>I tried to use <code>&lt;style type="text/css"&gt;.*&lt;/style&gt;</code> but of course it wouldn't match anything because the dot matches any character except line feed. I would like to match line feed as well and the line feed maybe either <code>\r\n</code> or <code>\n</code>.</p>
  
  <p>How should the regular expression look like?</p>
  
  <p>Many thanks to you all.</p>