in reply to Re^2: regexp look behind?
in thread regexp look behind?

No, thank you for finally clarifying just what you want the output to be!

Replies are listed 'Best First'.
Re^4: regexp look behind?
by raybies (Chaplain) on Dec 01, 2010 at 13:21 UTC

    Yes, thanks for clarifying the output. that was something I could not parse from the discription given in the original problem.

    So take my original suggestion and instead of the if statement looking like I suggested make the print portion be  print "\n$_\n\n" if (same as code given).