Here's another option:
use Modern::Perl; my $dat = 'DR Pfam; PF00070; Pyr_redox; 2.'; my $info = (split '; ', $dat)[1]; say $info;
Output:
PF00070
Hope this helps!
In reply to Re: Regex Extraction Help
by Kenosis
in thread Regex Extraction Help
by invaderzard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |