in reply to Re^3: regex doubt on excludingin thread regex doubt on excluding
Thank you Athanasius.
I got it worked with $string =~ s/\s*?\n/\n/mg;