Reduce string generation to only A-Za-z0-9.