in reply to Simple RegEx Substring Extraction from a Delimited Text Record

Your approach should depend on what idea you consider the more important to communicate.

I would probably put in a WHILE loop, and parse chunks of the regex with a "g" flag, and store results into a hash.
(Too lazy to write the code- whoring for XP).

     "For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken

  • Comment on Re: Simple RegEx Substring Extraction from a Delimited Text Record