string_sanitisation.go 220 Bytes
package webutility

const patern = "\"';&*<>=\\`:"

// SanitiseString removes characters from s found in patern and returns new modified string.
func SanitiseString(s string) string {
	return ReplaceAny(s, patern, "")
}