func removeParentheses(strInfo string) string { strReg := "\\(.*?\\)|\\{.*?}|\\[.*?]|(.*?)" reg := regexp.MustCompile(strReg) return reg.ReplaceAllString(strInfo, "") }