Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Regex Extraction Help

by Kenosis (Priest)
on Aug 09, 2012 at 19:05 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://986587]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found