Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: remove multiple characters

by Punitha (Priest)
on Dec 04, 2007 at 11:07 UTC ( #654752=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: remove multiple characters
Download Code
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://654752]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2015-07-02 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls