So I was writing some code today that basically looks like this:
string returnString = s.Replace("!", " ")
.Replace("@", " ")
.Replace("#", " ")
.Replace("$", " ")
.Replace("%", " ")
.Replace("^", " ")
.Replace("*", " ")
.Replace("_", " ")
.Replace("+", " ")
.Replace("=", " ")
.Replace("\", " ")
Which isn't really nice. I was wondering if there's a regex or something that I could write that would replace all the calls to the Replace() function?