Regex and delimiter in javascript

后端 未结 3 1292
有刺的猬
有刺的猬 2021-01-28 00:52

I am not so good with regex, I need some help and I am stuck...

This is what I got:

EDITED: Now is working fine, take a look at...

http:

3条回答
  •  鱼传尺愫
    2021-01-28 01:20

    Use this:

    var match = /^9908:[0-9]{3,}$/.test("9908:123");
    ​alert(match);​
    

提交回复
热议问题