Description |
This expression was written for C#, and as such you should just be able to drop it in.
It matches Windows paths, be they the drive letter version or the UNC version. It was not written to specifically match filenames, but it will in most cases anyway.
Be aware that Windows has a maximum path+filename length (260 chars on XP) and this regular expression does not check for this.
This has been tested against large datasets. |