結果 : how to validate regular expression in javascript