Hi, if I could get help would be great. Countless have been the times I get stuck because of the poor explanation of what’s required. Code is working, but the FCC platform somehow is not having it.
const removeSpecialChars = (str) => {
return str.replaceAll(/[^A-Za-z0-9]/g, '');
};
const inputString = `abajfeiBa@%$#_""''`;
console.log(removeSpecialChars(inputString));