in reply to Re^2: perl regex to match newline followed by number and text
in thread perl regex to match newline followed by number and text

I see your Edit 1.
Can you enclose the data in code tags so that we can see the new lines?
The better the problems is described, the better the result will be. Your regex doesn't make much sense to me.

 s/((\n)([^0-9])+(-)*(Aa-Zz)*)|((\n)(\d{3})(-)*(Aa-Zz)*)/$2$3/g
My brain hurts.