常用正则判断、校验
判断path是否满足格式
let path="/expo/1414757308034060290"
if(/^\/expo\/\d{19}$/.test(path)){
console.log('满足')
}
判断path是否满足格式/expo/1414757308034060290(19个数字)
标签:常用,判断,19,校验,正则,expo,path,1414757308034060290
来源: https://blog.csdn.net/weixin_42708208/article/details/121540849