using System.Text.RegularExpressions;

arg="abc and";
str_Regex = ".*(=|and|exec|insert|select|delete|update|count|chr|mid|master|truncate|char|declare).*"

if (Regex.Matches(arg,str_Regex).Count > 0)
                        return false;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2021-09-22
  • 2021-12-04
  • 2021-04-02
  • 2021-09-28
猜你喜欢
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2021-05-15
  • 2021-07-14
  • 2022-12-23
  • 2021-12-26
相关资源
相似解决方案