I was wondering if anyone knew a way I would be able to find and replace all prefixes for the src of certain image files, e.g. on button click -> find all img src="Images/g/....." and replace with img src="Images/r/....."
<table>
<tr><td>
<img src="Images/jpg/g/tblLogo/fcs6.jpg" height="30" width="30">
</td><td>
<img src="Images/jpg/g/tblLogo/dcs6.jpg" height="30" width="30">
</td></tr>
<table>
As you can see from the above extract, my files are saved within a folder named 'g', I need a function that will scan my entire HTML files and change all those src's to point to the same file but within "Images/jpg/r/....."
P.S. Simplicity is the key.