javascript replace vowel
function vowel2index(str) {
return str.replace(/[aeiou]/ig, (m, i) => i + 1);
}
javascript replace vowel
function vowel2index(str) {
return str.replace(/[aeiou]/ig, (m, i) => i + 1);
}
find vowel & consonants in a string java script
const str = "The quick brown fox jumps over a lazy dog";
const vowels = str.match(/[aeiou]/gi);
const consonants = str.match(/[^aeiou]/gi);
vowels.concat([''],consonants).forEach(k => { console.log(k); } );
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us