Do you just need everything after the last backslash (file name)?
([^\\]+)$
The file name will be contained in the capture.
To match the beginning with the last backslash, you would do ...
\\[^\\]+$
I am not familiar with coldfusion, but I assume that if it performs regular expressions, it also captures. If you really need a position and you can get it from the match, the second expression may be what you want.
(Edited for clarity and answer the question)
source share