in reply to Re: How to remove a carriage return (\r\n)in thread How to remove a carriage return (\r\n)
if ( m/(\r\n|\n\r|\r|\n)$1/ ) { [download]
if ( m/(\r\n|\n\r|\r|\n)\1/ ) { [download]
Paul