Avatar of JAndyEvans
Flag for United States of America

asked on 

How do I extract the src attribute from an img tag?

Given the following examples:

<img src="images/avatar.jpg" alt="" border="0" />
<img src=images/avatar.jpg alt="" border="0" />

I need to extract the <u>content</u> of the src attribute (i.e. images/avatar.jpg w/o the quotes).
.NET ProgrammingRegular ExpressionsC#

Avatar of undefined
Last Comment

8/22/2022 - Mon