added hyphen character as well to the pattern