($newurl) = /img src="([^"]+)/i; # i.e. grab what's in between the quotes after the src= stuff