I have some image thumb code like below on my website coming from third party website to my website
<div class="thumb"><img src="//www.abc.com/website/thumbs/461/beautifulimage/test1a.jpg" rel="//www.abc.com/website/thumbs/461/beautifulimage/test1a.jpg"></div>
I want to replace URL from
//www.abc.com/website/thumbs/461
to
//www.abc.com/website/thumbs/800
So, How I can replace URL on page load so it'll load code something like below
<div class="thumb"><img src="//www.abc.com/website/thumbs/800/beautifulimage/test1a.jpg" rel="//www.abc.com/website/thumbs/800/beautifulimage/test1a.jpg"></div>
Is there any way where I can call URL like this?