What would be a good regex to capture the filename (test.txt) and the directory it lives in? It must also capture and *expand* the current directory if the pathname is:C:\Documents And Settings\My Documents\test.txt
Thanks../hello.txt
In reply to Dissecting a complete pathname to a file by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |