title: Get a part of a string that comes before .mp3 but is not always the same link
body: <p>I want to get only the ID that comes before the .mp3 but after several attempts I can't do it, the link is not always the same length</p>
  <p>String examples:</p>
  <pre><code>&quot;https://urlexample.com/EXAMPLE_STRING/media/example/audio/20227/07/1657142074431_15789.mp3&quot;
  &quot;https://urlexample.com/media/THIS_TEXT_IS_1657130179082_24048.mp3&quot;
  </code></pre>
  <p>The result should be:</p>
  <pre><code>&quot;https://urlexample.com/audio/1657130179082_24048&quot;
  &quot;https://urlexample.com/audio/THIS_TEXT_IS_1657130179082_24048&quot;
  </code></pre>
  <p>If anyone can help I would appreciate it.</p>