code: function removeAccent(str) {
          var reAccents = /[àáâãäçèéêëìíîïñòóôõöùúûüýÿÀÁÂÃÄÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝ]/g;
  
          // Prefixed with some char to avoid off-by-one:
          var replacements = '_aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY';
  
          return str.replace(reAccents, function (match) {
              return replacements[reAccents.source.indexOf(match)];
          });
      }
docs: Remove accents from a string
  @param {string} str - The string to remove accents
  @return {string} The modified string
  @example
  removeAccent('Olá Mündô!'); // 'Ola Mundo!'