in reply to extracting data

$ perl -pe 's|.*/||' file.txt
But do not take this as an excuse not to learn about File::Basename.