結果 : how to validate string with regex in javascript