Quote:
Yep, in fact a lookbehind is the more appropriate selection in this case since the part of the string your most interested in is at the end. Less expensive as well.
|
Unfortunately this doesn't seem to allow for grouping or appending an additional group that might exist. At least it didn't work for me with:
Code:
rx .*(?<!-PublisherX(_int)?)$
Code:
rx .*(?<!-(PublisherX|OtherY))$