title: Wordpress links to images from posts broken
body: <p>I have a Wordpress site with many broken links to the images from my posts.</p>
  
  <p>e.g. <a href="http://www.currentinspiration.com/words/communication/" rel="nofollow">http://www.currentinspiration.com/words/communication/</a></p>
  
  <p>This started after I changed my permalink.</p>
  
  <p>All new posts and links from images are working correctly after the permalink change.</p>
  
  <p>If I go to an image with a broken link, edit the post, edit the image, click Link to Image button. The link is updated correctly.</p>
  
  <p>old bad link: <a href="http://currentinspiration.com/2010/02/24/communication/caveman-images1/" rel="nofollow">http://currentinspiration.com/2010/02/24/communication/caveman-images1/</a></p>
  
  <p>new working link: //currentinspiration.com/wp-content/uploads/2010/02/caveman-images1.jpg</p>
  
  <p>I've started this manually, but there are too many images.</p>
  
  <p>I've read some about regular expression. It seem this could be done automatically with the regex or broken links checker plugin.</p>
  
  <p>Does anyone know the regular expression I can use?</p>
  
  <p>or</p>
  
  <p>Is the an easier way to make the change?</p>
  
  <p>Thanks</p>