Regular verification: multiple names are separated by English commas, and each name must and can only contain numbers and letters, with a length of 2 ~ digits. How to write the regular formula?

clipboard.png
this format is shown in the figure! A name can be solved without a comma. Thank you

Mar.28,2021

/^([0-9a-zA-Z]{2,},?)+$/.test('aa,33'); //true
/^([0-9a-zA-Z]{2,},?)+$/.test('aa,33,'); //true

//
/^(?!.*,$)([0-9a-zA-Z]{2,},?)+$/.test('aa,33'); //true
/^(?!.*,$)([0-9a-zA-Z]{2,},?)+$/.test('aa,33,'); //false

//
/^((?!\d+(,|$)|[A-Za-z]+(,|$))[0-9a-zA-Z]{2,},?)+$/.test('aa2,3w3'); //true
/^((?!\d+(,|$)|[A-Za-z]+(,|$))[0-9a-zA-Z]{2,},?)+$/.test('aa2,33'); //false
/^((?!\d+(,|$)|[A-Za-z]+(,|$))[0-9a-zA-Z]{2,},?)+$/.test('aa2,3d3,'); //true

//
/^((?!\d+(,|$)|[A-Za-z]+(,|$)|.*,$)[0-9a-zA-Z]{2,},?)+$/.test('aa2,3e3,'); //false
/^((?!\d+(,|$)|[A-Za-z]+(,|$)|.*,$)[0-9a-zA-Z]{2,},?)+$/.test('aa2,3e3'); //true

var reg=/^((?![a-z]{2,},)(?![0-9]{2,},)[a-z0-9]{2,},)*(?![a-z]{2,}$)(?![0-9]{2,}$)[a-z0-9]{2,}$/i;
    console.log(reg.test('aaa1'),reg.test('aaa1,'),reg.test('aaa1,aaa2'),reg.test('aaa,aaa2'),reg.test('aaa2,222'),reg.test('aaa'));

try this

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea0515-1ac9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea0515-1ac9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?