結果 : check if string match regex javascript