m!(.*)/[^/]*!;
print $1;