in reply to Need Record Parsing Advice

you should only need regex for this with some joining and hashes

search for the name of primary reporting as it has a 2 word tag as well as secondary. Remove the space.

search the list using the '---''s as record delimitors. Split the list so all spaces are new lines. Now each line should be a pairing of name and value. Search up to the first ':' and that is the name, then the remainder is the value.

Throw it into a hash. Now you can draw any value you need... throw it into a file or what not