javascript代码如下:

var re = new RegExp("^[1-9][0-9]*$");
if (re.test("11k")) {
    console.log("Y");
} else {
    console.log("N");
}

 

相关文章:

  • 2021-12-16
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2021-11-17
  • 2021-12-17
相关资源
相似解决方案