Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #vowels #string #javascript
ADD COMMENT
Topic
Name
6+8 =