title: How to extract file name from AWS url?
body: <p>I am trying to get the file name from URL and here I use basename to get the file name but it not works.</p>
  
  <pre><code>basename('https://test-assets.amazonaws.com/live%2Ftestsamantha-9-bucket%2Ff132eb33-f403-4881-80e2-de1cc3bdb43a.jpg');
  </code></pre>
  
  <p>Result is </p>
  
  <pre><code>live%2Ftestsamantha-9-bucket%2Ff132eb33-f403-4881-80e2-de1cc3bdb43a.jpg
  </code></pre>
  
  <p>How do I get </p>
  
  <pre><code>f132eb33-f403-4881-80e2-de1cc3bdb43a.jpg
  </code></pre>