I am struggling with a REGEX and I can't find a solution. I have the following strings:
LSUS_GDIS_SHIP_0211e947-1587-11de-9967-99f27557554e.txt
LSUS_GDIS_REC_0211e947-1587-11de-9967-99f27557554e.txt
LSUS_GDIS_CAPACITY_0211e947-1587-11de-9967-99f27557554e.txt
I need to match each line except SHIP or REC or CAPACITY.
I came up with
(?!.*\bSHIP\b|\bREC\b|\bCAPACITY\b).*
How can I exclude SHIP or REC or CAPACITY? When I do
(SHIP|REC|CAPACITY)
I only match these strings but I want to exclude them.