private static bool SpecialCharactrersInValue(string value)
{
string regExPattern = @"[+\-&&||!(){}[\]~*?:\\""]";
Regex rgx = new Regex(regExPattern, RegexOptions.IgnoreCase);
Match m = rgx.Match(value);
if (m.Success)
{
return true;
}
return false;
}