in reply to Perl Exp - Retrieve value

print( (split(/-/,$str))[1] );