package stringx import "regexp" func IsAlphaNumeric(s string) bool { match, _ := regexp.MatchString("^[a-zA-Z0-9]*$", s) return match }