I have a text file
file1.txt containing the following words
Question: How will I get the words with alternating consonants and vowels using
My expected output is like this:
So far I have this code but it only displays words with alternating consonant and vowel on the first 2 characters.
cat file1.txt | grep -i '^[^aeiou][aeiou]'
Any help would be appreciated. Thanks. 🙂