现在要匹配一个字符串,形如 "0xc743853543F" 以0xc开头,中间9位数字,以F结尾,这种应该怎么写正则表达式?
/^0xcd{9}F$/
验证正则网站http://refiddle.com/
2.1m questions
2.1m answers
60 comments
56.6k users