in reply to Using a regexp to extract sequence fields
my @matches ">blabla1|anyting1|blabla2|anyting2|blabla3|" =~ m/[a-zA- +Z0-9]+/xg; print $matches[2]; [download]