JS中如何分离字符串var s = "3_aa,12_bbb,7_aaaa"var re = new RegExp(d+,"g") 创建正则表达式对象。var r = s.match(re) 在字符串2023-03-02JavaScript270