How to distinguish between Chinese and English commas in js regular expressions

there is an input box in which two words are separated by Chinese commas with regular judgment, but I only see the regular judgment of English commas in the rules. How do you express Chinese commas in the rules? thank you

.
{ pattern: /^[^,]+(,[^,]+){0,4}$/, message: "5", trigger: "blur" }

the comma in this rule is in English, but the comma I changed to Chinese is invalid. How to write this judgment

Jan.23,2022

just type the Chinese comma as is, someString.split (/\ swords,\ swords /)

Menu