go-censor A go library for censoring bad/offensive words. $ go get -u github.com/d4l3k/go-censor c := censor.New([]string{ "test", "testfoo", "bar", }) c.Pattern = "!@#$" c.CensorString("foobar test") // "foo$!@ $!@#"