
ladycygnus
Novice
Aug 22, 2011, 8:00 AM
Views: 3648
|
|
Re: [ladycygnus] 9:5:4 => 09:05:04
|
|
|
I want this: $string =~ s/(\D)(\d\D)/$1a$2/g; where a is equal to 0...hmm... {{does a quick test}} This works:
my $zero = 0; $string =~ s/(\D)(\d\D)/$1$zero$2/g; print "After Change: $string\n"; so...um thanks.
(This post was edited by ladycygnus on Aug 22, 2011, 8:01 AM)
|