Published
- 1 min read
string matching regex in go
The solution for this is noted below
string matching regex in go
Solution
match, _ := regexp.MatchString("p([a-z]+)ch", "peach")
fmt.Println(match)
Try other methods by searching on the site. That is if this doesn’t work