Getting the last backslash in a filepath via regex

Posted by Anthony on Stack Overflow See other posts from Stack Overflow or by Anthony
Published on 2010-04-16T20:22:12Z Indexed on 2010/04/16 20:43 UTC
Read the original article Hit count: 413

Filed under:
|

Given a file path such as: \\server\folder_A\folder_B\etc\more.mov

I need a regex that'll give me the last backslash so I can extract the actual file name.

My attempt of "$\\" is not returning anything.

I'm using coldfusion.

Suggestions...?

© Stack Overflow or respective owner

Related posts about regex

Related posts about coldfusion