Need help with complicated search
<p>I need to search <code>src="http://www.domain.com/wp-content/uploads/2010/12/6a00e54fa8abf788330147e0622c2e970b-800wi.jpg"</code> </p>

<p>and get <code>http://www.domain.com/wp-content/uploads/2010/12/</code></p>

<p>Since I never know how long the string is I need to get everything up to the last /</p>
