Text 1 ?
do not match: nw, n, s and somethingelse.
all directions are: n, w, s and e.
Expect ?{n, w, s, e}


Text 2 ?
do not match: nw, n, s and somethingelse.
all directions are: nw, sw, se, w, ..., s and e.
Expect ?{nw, sw, se, w, ..., s, e}
Is it possible to capture all directions in one express?


Check Solution