in reply to
Best way to put : between fields in a string
Put a colon after a digit and before a non-digit:
s/(?<=\d)(?=\D)/:/g;
[download]
Caution:
Contents may have been coded under pressure.
Comment on
Re: Best way to put : between fields in a string
Download
Code
In Section
Seekers of Perl Wisdom