📅  最后修改于: 2022-03-11 15:03:37.033000             🧑  作者: Mango
console.log(/^([a-z0-9]{5,})$/.test('abc1')); // false
console.log(/^([a-z0-9]{5,})$/.test('abc12')); // true
console.log(/^([a-z0-9]{5,})$/.test('abc123')); // true
Run code snippet