title: Extract text from a string using Powershell
body: <p>I have a URL from which I need to extract a text. The URL is of the form:</p>
  
  <pre><code>abcd.com/File1/00012121
  abcd.com/File12/00012121
  abcd.com/File123/00012121
  </code></pre>
  
  <p>I need to extract File1, File12 and File123 respectively.</p>