I have the regex below that iterates through a string and then I build an array of script urls. This breaks if the script also has a type or id specified, is there a way to ignore certain arrtibutes on the script tags such as id, class, type, etc?
var regSrc = /<script.*?src="(.*?)"><\/script>/gmi;