Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: extract ids

by ccn (Vicar)
on Sep 16, 2009 at 07:10 UTC ( #795534=note: print w/replies, xml ) Need Help??


in reply to extract ids

What about this?
perl -lne 'print for /molecule_idref="([^"]+)/g' xmlfile

I've used 'g' modifier to catch ids in a case they occur more than one on a line.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://795534]
help
Chatterbox?
[marto]: good morning all
[Corion]: I consider having an abstract key as userid in your system good, because the "real" company-wide (or even larger) user id will likely not fit your criteria well
[Corion]: A good morning marto!

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-01-23 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (192 votes). Check out past polls.