Report question

Question: Javascript regex to match a string that ends with some characters but not with a particular combination of those