package main import "regexp" func main() { println(1 << 20) str := "dgvdagdbd\tkkageg:feg\"" println(str) regex2, _ := regexp.Compile("[\"\\/]") str2 := regex2.ReplaceAllString(str, "\\$0") println(str2) }