title: regex , match including multiple lines
body: <p>I my regex doesnt work if there is multiple lines.I'm  trying to match that everything inside /#----- #/ symbols. In one single line it works fine. You can check it here: <a href="https://regex101.com/r/yZTXwh/3" rel="nofollow noreferrer">https://regex101.com/r/yZTXwh/3</a></p>
  
  <p>code:</p>
  
  <pre><code>highlightMessage(message) {
      return message.replace(
        /\/#\s*(.*?)\s*#\//g,
        (_, g) =&gt; `&lt;span class='highlited-message'&gt;${g}&lt;/span&gt;`,
      )
    }
  </code></pre>
  
  <p>text: </p>
  
  <pre><code>Hello
   /# my name
  is
  Mike
  nice to meet you
  
   #/ 
  </code></pre>