How to match a string that does not end with a substring

@Alet I think this will work for you:


PS: sorry I do not reply to Question about (?!... regexp or send you a PM, but I can’t, and I can’t post in Discourse Feedback. I hope it’s a temporary tech issue.