you can test this way : const rgxDte = /^\d{1,2}\/\d{1,2}\/\d{4}$/ , msgTxt = [ 'date is valid' , 'date doesn\'t respect regex' , 'date year ...
確定! 回上一頁