I would like to create a regular expression that matches anything between two strings that does not contain a sequence in the middle.
Using this regular expression as an example: front.*(?!exclude)\.back$
I would like to match a string that is between front and back that does not contain exclude.
Test cases:
front_exclude.back - no match
front.back - match
front.helloworld.back - match