Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: regex related...search and delete

by choroba (Cardinal)
on Jan 14, 2013 at 10:32 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1013181]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-03-28 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found