Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by freekngeek (Acolyte)
on Jan 14, 2013 at 10:43 UTC ( #1013184=note: print w/replies, xml ) Need Help??


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

It's a fix format and it's working now. Thank you for your solution, May be I'll try this some other time.
  • Comment on Re^2: regex related...search and delete

Replies are listed 'Best First'.
Re^3: regex related...search and delete
by LanX (Chancellor) on Jan 14, 2013 at 10:53 UTC
    > 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://1013184]
help
Chatterbox?
[Corion]: Oof - "Anyway, if it is not obvious, please keep this discussion entirely confidential for now.", as seen on a public mailing list ;)
[Discipulus]: uh no choroba.. i do not practice much with online putyour image sites:can you suggest one (that possibly remove the pic after few days)?
[choroba]: Corion a bug report?
[choroba]: I have no idea :-( I used to post to photobucket.com, but they don't seem to feature "private" pictures in the free version now
[Discipulus]: dazz i'm not an experts but i think it would be possible
[Corion]: dazz: I think Image::Magick can "read" from an in-memory filehandle

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2017-03-27 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (317 votes). Check out past polls.