Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Regex Extraction Help

by Kenosis (Priest)
on Aug 09, 2012 at 19:05 UTC ( #986587=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $info = (split /\s*;\s*/, $dat)[1];
    
  2. or download this
    use Modern::Perl;
    
    my $dat = 'DR Pfam; PF00070; Pyr_redox; 2.';
    $dat =~ /;\s*(\w+)\s*;.+;/ and say $1;    #prints PF00070
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-08-20 13:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (114 votes), past polls