title: htaccess replace two occurs of dot in URL with only one
body: <p>I'm trying to replace occurs of two dots in my image URL with only one dot</p>
  
  <p>something like this</p>
  
  <p><a href="http://www.test.com/image..jpg" rel="nofollow">http://www.test.com/image..jpg</a> </p>
  
  <p>should be </p>
  
  <p><a href="http://www.test.com/image.jpg" rel="nofollow">http://www.test.com/image.jpg</a> </p>
  
  <p>I made this one but it seams that not working as I expect.</p>
  
  <pre><code>    RewriteEngine On
      RewriteRule (.*)\..(jpe?g|gif|png)$ $1.$2 [R=302,NC,L]
  </code></pre>
  
  <p>Any help would be more than welcome.</p>