Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import "fmt"
- import "regexp"
- func main() {
- youString :="a12345"
- match, _ := regexp.MatchString("([a-z]+)", youString)
- if !match{
- fmt.Println("Is Number")
- } else{
- fmt.Println("Not Is Number")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement