关键正则表达式:
ok, _ := regexp.MatchString("^[A-Za-z\\d\u4e00-\u9fa5]+(,[A-Za-z\\d\u4e00-\u9fa5]+)*$", text...[]int64, []string) {
int64Ids := make([]int64, 0)
stringIds := make([]string, 0)
// 把可能的分隔符..., "\n", ",")
text = strings.ReplaceAll(text, " ", ",")
fmt.Println("text=", text)
// 支持数字...,字母,中文
ok, _ := regexp.MatchString("^[A-Za-z\\d\u4e00-\u9fa5]+(,[A-Za-z\\d\u4e00-\u9fa5]+)*$", text