Contact: aviboots(AT)netvision.net.il
39,900 questions
51,831 answers
573 users
package main import ( "fmt" "regexp" ) func main() { s := "go java 2020-08-23 php" re := regexp.MustCompile(`\d{4}-\d{2}-\d{2}`) fmt.Println(re.MatchString(s)) } /* run: true */