Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://654752]
help
Chatterbox?
[Corion]: I think I saw virtualsue more recently in person than online :-D
[virtualsue]: It's true that there was a bigger gap between the 2 yr old post and the one before it
[ambrus]: yes, I probably just didn't see you two years ago, because I'm not in perlmonks much
[virtualsue]: Nor am I :-)
[talexb]: virtualsue Heh .. long time no see! :)
[virtualsue]: I have a quiet Perl themed slack workspace
[virtualsue]: The person who talks to me on it the most *hates* Perl but she hates everything

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2017-09-26 13:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (295 votes). Check out past polls.

    Notices?