Skip to content

Instantly share code, notes, and snippets.

@corocoto
Created November 25, 2021 17:03
Show Gist options
  • Save corocoto/b1757e5d273193cb5b71d137c19c65ea to your computer and use it in GitHub Desktop.
Save corocoto/b1757e5d273193cb5b71d137c19c65ea to your computer and use it in GitHub Desktop.
find vowels and consonants
/[b-df-hj-np-tv-z]+/.test(str)
/[aeiouy]+/.test(str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment