title: Need a regexp to extract a Sub String of a String
body: <p>I have a string, The string looks like :</p>
  
  <pre><code>abc/axs/abc/def/gh/ij/kl/mn/src/main/resources/xx.xml
  </code></pre>
  
  <p>I want to get the content after <code>n</code> occurrences and before <code>m</code> occurrences of the character <code>/</code>.
  For instance, from the string above, I want:</p>
  
  <pre><code>mn/src/main
  </code></pre>
  
  <p>Please suggest some solution for this.</p>