@array=('human.NT_113898','human.contig.1','human.2','human.IV'); foreach (@array) { if(/(\w+\.)(\w+|\d+|\.)/){print $2."\n";} }
In reply to Re: Removing first part of string with regex
by Anonymous Monk
in thread Removing first part of string with regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |