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

Re: Using a regexp to extract sequence fields

by misterb101 (Sexton)
on Feb 13, 2006 at 10:23 UTC ( #529784=note: print w/replies, xml ) Need Help??


in reply to Using a regexp to extract sequence fields

Or of course only with regexp:

my @matches ">blabla1|anyting1|blabla2|anyting2|blabla3|" =~ m/[a-zA- +Z0-9]+/xg; print $matches[2];
--
Cheers,
Rob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2023-03-26 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?