几年前,有写过一个angularjs验证日期的后端和js。

 

正则:

 Regex regex = new Regex(@"(((19|20)\d\d)\-(0[1-9]|1[0-2])\-((0|1)[0-9]|2[0-9]|3[0-1]))$");
Source Code

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2021-12-29
  • 2022-12-23
  • 2022-01-12
  • 2021-08-11
猜你喜欢
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-10-25
  • 2021-12-04
  • 2021-09-10
相关资源
相似解决方案