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


in reply to Re: remove multiple characters
in thread remove multiple characters

Hi bart

I think dont want that grouping also, you can directly substitute as

$str =~ s/[bzy]//g;

Punitha

Replies are listed 'Best First'.
Re^3: remove multiple characters
by bart (Canon) on Dec 04, 2007 at 11:11 UTC
    It's not just grouping, it's capturing too.

    And I had just finished updating my node, justifying what I did there.