I am struggling to make a regular expression to remove the items which have the status "notify" or "not in stock"
item1 120usd not in stock item2 150usd in stock item3 100usd notify item4 12usd in stock item5 25usd not in stock item6 250usd notify item7 50usd in stock item8 30sud in stock item9 5usd notify item10 5usd notify
The following regular expression will match all items
.*?(notify|not in stock|in stock)
I have tried to remove the "in stock" from the regular expression but then all the grouping get "messed" up.
https://regex101.com/r/KyEg6k/1
All help is appreciated :)