Created
January 2, 2018 13:13
-
-
Save lhuria94/9e5375c28bbafd99aae8c421b9a3ea79 to your computer and use it in GitHub Desktop.
For example, the string "This website is for losers LOL!" would become "Ths wbst s fr lsrs LL!".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function disemvowel(str) { | |
return str.replace(/[aeiou]/gi, ''); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment