^x/x<notwanted>/x<y>$ ^word/word<notwanted>/word<notmeeither>$ ^word/word<notwanted>/matchme<wanted>/word<notmeeither>$ ^word/word<notwanted>/word<notmeeither>$ ^y/y<notwanted>/y<x>$ 

