示例: re := regexp.MustCompile("[0-9]+") fmt.Println(re.FindAllString("abc123def987asdf", -1)) 输出: [123 987]