c#, Find if String has image links and replace them with html hyperlinks

RoseTaylor

New Member
I'd like to take a string of text and find out if there is link to image and replace it with html hyperlink, so it looks embedded. For example:\[code\]Look at this image www.xyz/abcd.jpg\[/code\]When I want to display it, then I want to embed the image:\[code\]look at this image <img src="http://stackoverflow.com/questions/14387431/www.xyz/abcd.jpg" alt="" />\[/code\]Something like this.
 
Back
Top