Javascript regex to match a string that ends with some characters but not with a particular combinat
- by nimcap
Let's say using Javascript, I want to match a string that ends with [abcde] but not with abc.
So the regex should match xxxa, xxxbc, xxxabd but not xxxabc.
I am utterly confused.