title: How can I match the most nested comment with a regular expression?
body: <p>I'm struggling with a regex. I can't find a way to extract the most nested comment in this example: </p>
  
  
  
  <pre class="lang-none prettyprint-override"><code>/* test
  /* sec/*o*
  new line
  n*/d */
  */
  </code></pre>
  
  <p>To be clear, what I want to extract is the following:</p>
  
  <pre class="lang-none prettyprint-override"><code>/*o*
  new line
  n*/
  </code></pre>
  
  <p>So far i can select it only if it doesn't have a <code>*</code> character, using this regex:</p>
  
  <pre class="lang-none prettyprint-override"><code>/\*[^\*]*\*/
  </code></pre>
  
  <p>But I can't figure out how to exclude this particular string: <code>/*</code>, 
  and I can't find the right keywords to get my answer on the web.</p>