xxxxxxxxxx
const printTokens = (str) => {
const strWithoutSpecialChar = str.replace(/([^\w ]|_)/g, " ");
const tokens = strWithoutSpecialChar
.split(" ")
.filter((token) => token !== "");
console.log(tokens.length);
tokens.map((token) => console.log(token));
};
printTokens("He is a very very good boy, isn't he?");