in reply to regex needed

There are many, many ways to do this, but here's two of them:
my $foo=(split /:/, $_)[1]; (my $foo)=/[^:]*:([^:]*):[^:]*/;
Undoubtedly, by the time I submit this, there will be countless others posted as well.

CU
Robartes-