Question: Write a regular expression that matches all words in English that begin and end with a consonant and that contain exactly two vowels. You may
Write a regular expression that matches all words in English that begin and end with a consonant and that contain exactly two vowels. You may assume that the alphabet for English is {a,b,...,z} (without capital letters or other symbols), the vowels are the set {a, e, i, o, u} and the consonants are the set {a,b,...,z}\{a, e, i, o, u}.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
