Regular Expression to validate a timestamp

后端 未结 13 626
名媛妹妹
名媛妹妹 2021-01-01 01:19

I need a regular expression to validate a timestamp of the format, using Javascript:

YYYY/MM/DD HH:MI:SS

I trie

13条回答
  •  無奈伤痛
    2021-01-01 01:48

    Regular-Expressions.info is a nice source of information about RegEx, it also has a good tutorial.

提交回复
热议问题