my $str = 'Goldman_Sachs_2002'; $str =~ s/_(?!\d*$)//g; print $str; [download]
In reply to Re: Simple substitution by wind in thread Simple substitution by eversuhoshin