in reply to Re^2: Simple regex question. Grouping with a negative lookahead assertion.
in thread Simple regex question. Grouping with a negative lookahead assertion.

I just modified and tested the code.

The minor modification will work. I should have seen the necessary addition of the non-greedy mode quantifier.

Thanks again.
  • Comment on Re^3: Simple regex question. Grouping with a negative lookahead assertion.