I have a C# string that represents HTML code. I need to parse the string and find each instance of the img element. Once the img element is taken out, I need to then extract the src attribute from the img element.
Example if I have the C# string, I need to find <img src="http://www.someurl.com/image1.gif
" /> and assign it to a string. Then I need to parse the new string for the src http://www.someurl.com/image1.gif
. I am somewhat familar with C# string functions, but I am not sure how to begin working on this.
If you need more clarification please let me know. Thank you for your help.