Link to home
Start Free TrialLog in
Avatar of paulca
paulca

asked on

Regular Expression

I have a path and I need to strip out the file name only.  i.e. c:\program files\netscape\help.txt => help.txt

I am also looking for a regular expression to give me the drive letter plus the backslash from a given path.  i.e. c:\program files\netscape\readme.txt => c:\
ASKER CERTIFIED SOLUTION
Avatar of maneshr
maneshr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial