Using Regex Expression 1 Many Words Four Letters 2 Many Words Least Two Vowels Vowels Need Q37298817

By using regex expression:

1.How many words with four letters

2.How many words with at least two vowels and the vowels neednot be adjacent.


Answer


Regex expression with only 4 letter word

/^[a-z]{4}/i

words with at least two vowels and the vowels need not beadjacent

[^aeiuo][a,e,i,o,u][^aeiuo][a,e,i,o,u]

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.