Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Scurbbing a string

by FunkyMonk (Chancellor)
on Aug 24, 2007 at 21:05 UTC ( [id://634965]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ( $s1, $s2 ) = ( 'pure', 'pppp!u-r-*e' );
    my $re = eval "qr/[^$s1]/";
    $s2 =~ s/$re//g;
    print $s2; # ppppure
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-03-29 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found