code: function removeUnwantedCharacters(cleanedString, unwantedCharArray) {
      for (var x = 0; x < unwantedCharArray.length; x++) {
          var unwantedCharRegExp = new RegExp(unwantedCharArray[x], 'g');
          cleanedString = cleanedString.replace(unwantedCharRegExp, '');
      }
      return cleanedString;
  }
docs: Byung Joo Shin, Amida Tech /*remove a list of unwanted characters from a given string, globally(as in
  not only the ends