I've checked some answers online, but they do not work when there's a `-name` parameter in the command (maybe I'm doing something wrong, not sure). What I'd like to do is to list only filenames (not the directory/path), and to complicate more, I have same filename with different extension, so I need to filter the result using `-name`, the trouble is the suggestions that I saw use either `-fprint` or `basename`, and those doesn't work well with `-name`. Is there any other way to solve this problem?
example of my files:

 /dir1/dir2/dir3/dir4/
 /file1.txt
 /file1.pdf
 /file1.ods ...etc.
I'm only interested in listing one or more type of file per listing (by using `-name` to filter my results.
Is it possible to accomplish it using only 1 `find` command or I have to do it in 2 steps (saving the result in a temporary file, then filter/strip the directory from the temp file)?