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

Re^3: regex related...search and delete

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


in reply to Re^2: regex related...search and delete
in thread regex related...search and delete

> It's a fix format and it's working now.

no it's not, chorobas solution will delete any "L " outside of parens too.

if its really a fix format, use something like s/\(L (\d+) W (\d+)\)/($1 $2)/g

Cheers Rolf

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013187]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2017-11-22 09:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (316 votes). Check out past polls.

    Notices?