my $char = '<BR>'; s/\n/$char/g; [download]
In reply to Re: substitute an enter with regular expressions by mrmick in thread substitute an enter with regular expressions by Anonymous Monk