Regular Expression for any number divisible by 60 using C# .Net?

前端 未结 6 1440
梦谈多话
梦谈多话 2021-01-18 10:32

I need to apply validation on input time intervals that are taken in as seconds. Now i am not really good at Regular expressions. So can any body help making a regular expre

6条回答
  •  温柔的废话
    2021-01-18 10:53

    Why not do N % 60 ?

    Why you want to use regex for a job which can easily be done using one operator ?

提交回复
热议问题