I need a regex pattern that accepts only comma separated values for an input field.
For example: abc,xyz,pqr
.
It should reject values like: ,
,sample
text1,text2,
I also need to accept semicolon separated values also. Can anyone suggest a regex pattern for this ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…