Answers for "count vowels string regex js"

0

count vowels in a string javascript

// BEST and FASTER implementation using regex
const countVowels = (str) => (str.match(/[aeiou]/gi) || []).length
Posted by: Guest on August-17-2020

Code answers related to "count vowels string regex js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language