how to remove vowels from a string in js code example Example: remove vowels from string javascript str = str.replace( /[aeiou]/ig, '' )