get SRC attribute from image tag that is coming from database
I'm getting a string back from the database that is:
var x = ImageValue;
the ImageValue= <img alt="" src="/newImage.gif" style="border: 1px solid;"/> //this is what is coming from the database
how can I split [ImageValue] to only get the src tag, so I get it as:
src="/newImage.gig"
that's the only section of this string I need