How to remove part of a string using jquery? : <p>I need to remove part of a string using <strong>jQuery</strong> in this way:</p>

<p>I have this string:</p>

<pre><code>url(http://example.com/wp-content/uploads/2017/01/11_CAT_CONILLS_-w900-h600-150x150.jpg)
</code></pre>

<p>Remove all before the last "/" which is (this part can take other value): </p>

<pre><code>url(http://example.com/wp-content/uploads/2017/01/
</code></pre>

<p>Remove:</p>

<pre><code>)
</code></pre>

<p>To just leave:</p>

<pre><code>11_CAT_CONILLS_-w900-h600-150x150.jpg
</code></pre>
