I am trying to extract the img and src from a long html string.
I know there are a lot of questions about how to do this, but I have tried and gotten the wrong resu
Try this:
var match = regexp.exec(url); var src = match[1];