Words containing edges