I need to extract just the filename (no file extension) from the following path....
\\\\my-local-server\\path\\to\\this_file may_contain-any&character.pdf<
This is just a slight variation on @hmd's so you don't have to truncate the .
.
[ \w-]+?(?=\.)
Demo
Really, thanks goes to @hmd. I've only slightly improved on it.