http://www.perlmonks.org?node_id=984206


in reply to trouble regexing the next line

i am a bit slow at analysing existing code.
Could you please post some sample input and expected output?

Replies are listed 'Best First'.