need regular expression to return second last directory form path

前端 未结 0 1996
孤独总比滥情好
孤独总比滥情好 2020-12-04 04:03

I\'m trying to have a regular expression return the second last directory from a file path.

I have a file path that looks like something like this:

C:\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题