Gday,
Thanks for the very useful regex discussion and code.
Alas, there is a mistake in line 25:
WriteLn(’ Group [’ + IntToStr(i) + ‘] : [’ + match.Value + ‘]’;
It should read:
WriteLn(’ Group [’ + IntToStr(i) + ‘] : [’ + match.Groups.Item[i].Value + ‘]’;
Cheers.