JavaScript正则表达式如何仅匹配由非数字字符分隔的数字?

JavaScript正则表达式如何仅匹配由非数字字符分隔的数字?,javascript,regex,Javascript,Regex,我是JavaScript的初学者。我在正则表达式中遇到了一些问题 var string="Find the mean, median, mode of the following data. Concatenate the three averages and the data values at positions 176 and 345." var pos=string.match(). 如何使用正则表达式将本文中的“位置176和345处的值”数字保存到pos? var string=“找

我是JavaScript的初学者。我在正则表达式中遇到了一些问题

var string="Find the mean, median, mode of the following data. Concatenate the three averages and the data values at positions 176 and 345."
var pos=string.match().
如何使用正则表达式将本文中的“位置176345处的值”数字保存到pos?

var string=“找到以下数据的平均值、中值和模式。将三个平均值与位置176和345处的数据值连接起来。”
var pos=string.match(/\b\d+\b/g);

控制台日志(pos)abc123def如何处理?