I'm having problems in egrep
trying to figure out a AND like operator for regular expression pattern matching, I need to match all the strings that must satisfy multiple conditions in a given list of strings, here are some questions I'm having problems with
1) Find the set of words that contain two consecutive
e's, AND also contains at least two i's ( ieei
is valid )
2) Find the set of words that are at least 5 characters long AND do not contain any vowels
I tried using lookaheads (?=.*?ee)(?=.*?i.*i)
but it doesn't work, what am I missing here?