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