Is this useful for you ?
Perl6 Substitutions
In reply to Re: Perl6 regex substitutions by vinoth.ree in thread Perl6 regex substitutions by kovacsbv