in reply to Regex copy and paste help

How are you parsing it? This is important step, which will determine how you reassemble/join the string back together

Once you have an array of arrays, its as simple as checking for trailing "-" on a field, iterating/appending until the trailing "-" is missing

Parse::Report - parse Perl format-ed reports. might help, its like the opposite of Perl6::Form