Cut and get last column of a file

cat file|rev | cut -d/ -f1 | rev
click the source code to copy