摘要: var a='start111111endstart222222endasdfasdfasdfakjsfhaksdf'+'start333333endstart444444end66666666666sdfghsdfgsdg'alert(a.match(/start.*?end/img).join("=").replace(/start/g,"").replace(/end/g,"").split("="))结果111111,222222,333333,444444 阅读全文
posted @ 2014-03-10 17:05 刘金宇 阅读(566) 评论(0) 推荐(0) 编辑