onionscan/utils/useful_regexps.go

8 lines
145 B
Go

package utils
import "github.com/mvdan/xurls"
func ExtractDomains(content string) []string {
return xurls.Strict.FindAllString(content, -1)
}