http://www.perlmonks.org?node_id=553329


in reply to Re: ascii problem
in thread ascii problem

And more "Just because..."
$str =~ s/((?>[^\cH]*))((?>\cH+))/substr $1, 0, length($1) - length($2 +)/eg;