Replace <a href=> links to <img src=> images
<p>I'm looking for a way to find/replace links to images.</p>

<p>For example, the following text:</p>

<pre><code>&lt;a href="http://domain.com/arbitrary-file.jpg"&gt;Text&lt;/a&gt;
</code></pre>

<p>to</p>

<pre><code>&lt;img src="http://domain.com/arbitrary-file.jpg" /&gt;
</code></pre>