Hello reggie jack,
This might do what you want without having to worry about the different file indicators. It works on the '/' and the '.' instead.
=LEFT(TRIM(RIGHT(SUBSTITUTE(A1,"/",REPT(" ",99)),99)),FIND(".",TRIM(RIGHT(SUBSTITUTE(A1,"/",REPT(" ",99)),99)))-1)
Regards
Harry