Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-08-18 11:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (300 votes). Check out past polls.

    Notices?