求高手帮忙用js写一条字符串超长用省略号表示的正则表达式var str = "123456789"var reg = (.{6}).*str = str.replace(reg, "$1.....")console.log(str)var s=str.2023-04-10JavaScript220