Regular Expression to get the SRC of images in C#

后端 未结 8 1523
情深已故
情深已故 2020-11-29 09:34

I\'m looking for a regular expression to isolate the src value of an img. (I know that this is not the best way to do this but this is what I have to do in this case)

8条回答
  •  星月不相逢
    2020-11-29 09:42

    This should capture all img tags and just the src part no matter where its located (before or after class etc) and supports html/xhtml :D

    
    

提交回复
热议问题