| Title |
Test
Find
Valid directory only path
|
| Expression |
([A-Z]:\\[^/:\*;\/\:\?<>\|]+)|(\\{2}[^/:\*;\/\:\?<>\|]+) |
| Description |
This regex will validate whether the value is a valid directory path. |
| Matches |
C:\ValidFolder C:\ValidFolder\SubFolder \\ValidShare \\ValidShare\Subfolder |
| Non-Matches |
C:\Inval:idPath InvalidFolder\Subfolder D:\Invalid*Folder |
| Author |
Rating:
Craig Prescott
|
| Source |
|
| Your Rating |
|
Title: Wrong
Name: Felipe Souza
Date: 6/15/2016 5:48:38 PM
Comment:
It validates absolute paths like: \\path\test.txt