I want to find all connected words except for specific ones. For example:
0827banana82/+wine22green-729
green and wine should match, but banana not.
I tried the following regular expression with a negative lookahead:
(?!banana)([a-zA-Z]+)
but it excludes only the first letter of banana because anana is still a match for the second pattern. I have no idea how to get rid of that.