var str="1件*20桶*30包*123.45公斤";
var res=str.match(/\d+(\.\d+)?/g);
alert(res);
posted on 2017-01-03 17:30  悲伤穿透眼眸  阅读(188)  评论(0)    收藏  举报