var a = /\bd+ (pig|cow|cko)\b/ console.log(a.test("15 pig") //true
管道 - 正则表达式
猜你喜欢
转载自www.cnblogs.com/yuyedaocao/p/12044160.html
今日推荐
周排行