in reply to Re: Golf: Replacing part of a string with "*"
in thread Golf: Replacing part of a string with "*"
Here's 25:
$string=~s/.(?=....)/*/g;
In Section
Seekers of Perl Wisdom
in reply to Re: Golf: Replacing part of a string with "*"
in thread Golf: Replacing part of a string with "*"