^([2-9][\d]{3})-(((0?[13578]|1[02])-(0?[1-9]|[12][0-9]|3[01]))|((0?[469]|11)-(0?[1-9]|[12][0-9]|30))|(0?2-(0?[1-9]|[1][0-9]|2[0-8])))[ ](2[0123]|1[\d]|0?[0-9])[:]([1-5][0-9]|0?[0-9])$
转载于:https://www.cnblogs.com/hanstar/p/7799471.html
^([2-9][\d]{3})-(((0?[13578]|1[02])-(0?[1-9]|[12][0-9]|3[01]))|((0?[469]|11)-(0?[1-9]|[12][0-9]|30))|(0?2-(0?[1-9]|[1][0-9]|2[0-8])))[ ](2[0123]|1[\d]|0?[0-9])[:]([1-5][0-9]|0?[0-9])$
转载于:https://www.cnblogs.com/hanstar/p/7799471.html