I have the following strings :
- combine (valid)
- combine, online, store (valid)
- store online (valid)
- online (valid)
- combine, anything else (invalid)
- anything else combine (invalid)
- combine-online (invalid)
I would like to have a regex that captures only if any of those 3 words (combine online or store) are present in any order and are only separated by a comma or multiple spaces.
It should be something like
[online|store|combine]\w+