var str = "12 fff 56 ffg2334";
console.log(str.match(/\d*/g))
*代表匹配0到多個,怎么最后匹配出來的空字符串我無法理解,求大神指點
JavaScript正則中星號的理解?
蕭十郎
2018-07-23 09:51:13