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
Cheers,
Rob
In Section
Seekers of Perl Wisdom