title: Regular Expression to find last folder in a path
body: <p>I would like to find the last folder in a path. Ex: </p>
  
  <pre><code>G:\DATA1\DATA2\DATA3\DATA4\my target\file.xxx
  </code></pre>
  
  <p>I need to extract <strong>my target</strong>. I tried <code>(^.*\\)(.*\\)</code> but the result is my <code>target\</code>. Someone can fix it?</p>