in reply to Re: Replacing matches within string without splitting.in thread Replacing matches within string without splitting.
$channels =~ s{\b(\d)\b}{0$1}g; [download]