Ad
  • Custom User Avatar

    try it with replace and take a look to the Regular expressions, works for me

    var result = str;

    str = result.replace(/[aeiou]/gi, "");