Hello All, I have a string that has got
1||||2||||3|4|||5 What I need it in is 1|2|3|4|5 I have tried $string =~ s/\||/\|/g; and i get this as a result |1|||||2|||||3||4||||5| what am i doing wrong? Mnay Thanks, Johnno _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs