webmc
var reg = /\d+/g;

var text = “斯蒂234+56放的”;

var ms = text.match(reg);

console.log(ms) //["234", "56“]

 

分类:

技术点:

相关文章: