怎样用正则表达式怎么从字符串“123_DT1_AddButton”中截取123 请指教,
var re=/^([0-9]+).*/;if(re.test('123_DT1_AddButton'))alert(RegExp.$1);