摘要:
var a='start111111endstart222222endasdfasdfasdfakjsfhaksdf'+'start333333endstart444444end66666666666sdfghsdfgsdg'alert(a.match(/start.*?end/img).join("=").replace(/start/g,"").replace(/end/g,"").split("="))结果111111,222222,333333,444444 阅读全文