If I have the following in some HTML
<IMG alt="" hspace=0 src="cid:00c801c4a19b$847576f0$6500a8Garyc0" align=baseline border=0>
I need to get this bit i.e. the src of the image
and replace it with for example this
I'm not sure if the src will always be enclosed by " " but I can't find any that aren't, and this only applies to the img tag but obviously src could be in other tags so it needs to check that it is an img tag.