Your friend is trying to write a function that removes all vowels from a string. They write:
function removeVowels($str) {
return preg_replace("/aeiou/", "", $str);
}However, it seems that it doesn't work? Fix your friend's code so that it actually does remove all vowels.
// Current code:
removeVowels("hello") ➞ "hello"
// What we want:
removeVowels("hello") ➞ "hll"All letters will be lowercase.