結果 : if string matches regex javascript