結果 : how to use regex validation in javascript