I want to return a string based on whether or not this plural word exists. If it exists, I want false, but if the singular part of it exists, I want true.
Example:
'cat\fish, cats' returns true because there is 'cat' 'fish, cats' returns false because there is no 'cat' 'cat\fish' returns true because there is no cats.
The statement only returns false if cats is by itself and there is no cat in it.
I tried working with a negative lookahead, /^(?!.*cats).*$/ig
but it doesn't correctly recognise the case where there is a cat somewhere in the string.
Thank you!