Answers for "how to remove vowels from a string with js"

0

remove vowels from string javascript

var strings = ["bongo drums", "guitar", "flute", "double bass",
               "xylophone","piano"];
string = strings.map(x=>x.replace( /[aeiou]/g, '' ));
console.log(string);
Posted by: Guest on May-06-2020
2

remove vowels from string javascript

str = str.replace( /[aeiou]/ig, '' )
Posted by: Guest on November-25-2020

Code answers related to "how to remove vowels from a string with js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language