js如何判断字符串是(16-19位数字)或者(4位数字+8个*号+4位数字)用正则表达式处理var reg = ^(d{16,19})|(d{4}*{8}d{4})$galert(reg.test("1234567891234567"))试试这段代码string当作布尔型作比较时,除2023-03-02JavaScript150