code: public static String replaceBadChars(String string) {
          return string.replace(' ', '_').replace(',', '_').replace('.', '_')
                  .replace('-', '_').trim().replace("\n", "").replace("?", "Int").replace("!", "Exc").replace("ñ", "gn");
      }
docs: It replaces incorrect chars that may cause conflicts in the final
  instances
  
  @param string The string being converted, like white spaces
  @return A string without improper characters