Fixing regular expression to accept hyphens.