private static String EscapeWildcardCharacters(String input)
{
string output = input;
if (!String.IsNullOrEmpty(input))
{
output = output.Replace("%", "[%]");
output = output.Replace("_", "[_]");
output = output.Replace("[", "[[]");
// Could also remove common search terms.
}
return output;
}
#endregion