function go(e){ //
str1=e;
strs=""
var rep1=new RegExp("<img( ||.*?)src=('|/"|)(.*?)('|/"|>| )","gim") //定義正則模式
str2=str1.match(rep1) //搜索,主要得到length
rep1.exec(str1) //刷新regexp.$3
for(i=0;i<str2.length;i++){ //循環
rep1.exec(str1) //刷新regexp.$3
strs+=(RegExp.$3+"/n") //給值 }
alert(strs)
}