I've been stuck on these 2 problems for two weeks now.. (T__T) Sometimes i feel i'm getting close, but i just can't solve these!

#1 - Trying to match all words which contains all vowels (AEIOU) in order:
Code: Select all
grep -Ei '*a[^eiou]*e[^aiou]*i[^aeou]*o[^aeiu]*u[^aeio]*[^aeiou]$' $DIC
- abstemious
adventitious
facetious
facetiously
This variation [ grep -Ei '*a[^eiou]*e[^aiou]*i[^aeou]*o[^aeiu]*u[^aeio]*' ] of the above code gives me the same output, but including two more words:
- facetiousness
facetiousness's
I don't want the answer


#2 - How many words can you find which contain any two characters repeated three times, like the examples "interlinking" and "priestessess".
About the problem #2, i've already asked about it in Linux forums. I just want to point a minor mistake on check button of this question.. it reads:
- Three character string appears 3 times (takes a few seconds)
It's a bit confusing

I appreciate your attention and patience and i'm looking forward for your answer!
Best Regards,
rOttEn