結果 : check string against regex javascript