public bool regexyn(string lsstr)
  {
   Regex r=new Regex(@"^\d+(\.)?\d*$");
   if(r.IsMatch(lsstr))
   {
    return true;
   }
   else
   {
    return false;
   }
  }

相关文章:

  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案