Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: regex related...search and delete

by choroba (Bishop)
on Jan 14, 2013 at 10:32 UTC ( #1013181=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $string =  "(L 2 W 7)";
    $string =~ s/[LW] //g; # Replace L or W followed by a space by nothing
    +.
    print $string, "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013181]
help
Chatterbox?
and a soft breeze sighs...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-10-19 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (251 votes). Check out past polls.

    Notices?