Strip with .exec Regular Expressions Javascript
<p>I need to strip down a string which is a url.</p>

<p>Example:</p>

<pre><code>"http://www.wearepi.com/wp-content/gallery/03-05-2011-asian-escape/img_2377.jpg"
</code></pre>

<p>I need to strip it down to:</p>

<pre><code>"gallery/03-05-2011-asian-escape/img_2377.jpg"
</code></pre>

<p>i already got something like this:</p>

<pre><code>/[^\/]*(?=\.\w+$)/.exec
</code></pre>

<p>But that just leaves me with:</p>

<pre><code>"img_2377"
</code></pre>

<p>Thanks in advance for your help!</p>
