匹配$'userInfo1''hobby1'00 中括号中的数字,结果为0,0,0
console.log("$'userInfo1''hobby1'00".match(/d/g)) // [ '1', '1', '0', '0' ]
2.1m questions
2.1m answers
62 comments
56.7k users