I want to find words which contain two z’s and also two a’s through a word list? Thank You
z.*z.*a.*a|z.*a.*z.*a|a.*z.*z.*a|z.*a.*a.*z|a.*a.*z.*z
or as Benjamin wrote in comments below, if you use piping you can simplify it to
grep 'z.*z' | grep 'a.*a'
2.1m questions
2.1m answers
60 comments
57.0k users