Files
crypto-price-bot/internal/utils/stringx/validation.go
2024-10-24 09:53:23 +07:00

10 lines
141 B
Go

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