The rest of the match does not make any difference. It’s the “is not at the end of the string” part I need.
A very simple question, I’m sure, but I’m very “green” when it comes to regular expressions. I’m thinking maybe negative look ahead, but not sure the syntax on this.
Thanks.
Yes a negative lookahead would work here:
Another alternative is just to match any character using
.after the part you want to capture: