I want to get just the filename using regex, so I\'ve been trying simple things like
([^\\.]*)
which of course work only if the filename ha
how about 2 captures one for the end and one for the filename.
eg.
(.+?)(?:\.[^\.]*$|$)