Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: strip text from a string

by Athanasius (Archbishop)
on Sep 11, 2014 at 15:45 UTC ( [id://1100326]=note: print w/replies, xml ) Need Help??


in reply to Re^2: strip text from a string
in thread strip text from a string

Hello johngg,

Both excellent points! Thanks for the corrections:

1:41 >perl -wE "my $s= qq[Can you please remove 'me' as that me is no + longer required, but this 'X' should go as well]; $s =~ s/\s*'[^']*' +//g; say qq[\n$s];" Can you please remove as that me is no longer required, but this shoul +d go as well 1:41 >

Cheers,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-18 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found