$out=substr $in, index( $in, '_') + 1; substr( $out, $us = index( $out, '/') + 1, index( $out, '_')- $us + 1)='';