How can I take an < img tag from string? Sample string is given below. But too bad name and surname parts are dynamic and sometimes image names are numbers...
Lorem ipsum dolor sit amet <img src='http://www.mydomain.com/images/name_surname.jpg' /> Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
What I've tried so far:
sMyText.Substring(sDescription.IndexOf("<img"), count?!);
how to count the who image character length? This is where I fail. Please help..