PHP » GoLang |
login |
register |
about
|
preg_replace_callbackpreg_replace_callbackre := regexp.MustCompile(`(<p(.*?)>)`) fmt.Println(re.ReplaceAllStringFunc("<p class='one'>sdfsd<p>sdfsf</p>fsdf</p>", func(s string) string { return "" })) |