string tarIP = srcIP.Substring(0, srcIP.LastIndexOf(".") + 1) + "*";

 string[] temp = s.Split(new char[] { '.' });
            string tt = temp[0] + "." + temp[1] + "." + temp[2] + ".*";
            Console.WriteLine(tt);


            string Text = Regex.Replace("196.168.16.23", @"(\d+.\d+.\d+.)(\d+)", "$1*");
                       Console.WriteLine(Text);

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-07-25
猜你喜欢
  • 2022-01-13
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
  • 2021-08-13
相关资源
相似解决方案