replace .jpg url to .mp4 new extention in php
<p>I am hoping someone can offer some advice.</p>

<p>I have image location (example) src="http://www.abc.com/uploads/images/name123.jpg" (i'm using the image already)</p>

<p>I now have a videos for every image I have named the video the same as the images and want to continue to use the image on the page</p>

<p>ie: <a href="http://www.abc.com/uploads/videos/name123.mp4" rel="nofollow">http://www.abc.com/uploads/videos/name123.mp4</a></p>

<p>please help if you can, hopefully some elegant string replace function?</p>
