結果 : validate string using regex javascript