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<
I use @"[^\\]+$" That gives the filename including the extension.
@"[^\\]+$"