結果 : how to add variable in regex pattern javascript