in reply to Re: process multiline text and print in desired format
in thread process multiline text and print in desired format

Thanks for putting time to write the code. would you please advise on the pattern match ? input file has leading spaces for all lines except "Release Date.xxxxx" your suggestion seems to match without the regex for whitespaces. /color basic /color all /overseas shipping
  • Comment on Re^2: process multiline text and print in desired format

Replies are listed 'Best First'.
Re^3: process multiline text and print in desired format
by tybalt89 (Monsignor) on Mar 18, 2021 at 03:11 UTC

    There is no need to match the whitespace at the beginning of lines. A match can start anywhere.