Last updated 4 years ago
Was this helpful?
replace all [a,e,i,o,u] character to '!' through RegExp
const replace = (s) => s.replace(/[aeiou]/gi, '!');