Title |
Test
Find
Windows path
|
Expression |
^((?:(?:[a-zA-Z]:)|\\)\\)?((?:\.\.?\\)|(?:[^\0-\31<>:"/\\|?*]+(?<![ .])\\))*([^\0-\31<>:"/\\|?*]+(?<![ .]))?$ |
Description |
I've come to this expression according with (most of) the naming conventions provided by MS in this page:
http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx#naming_conventions
Any corrections or comments will be much appreciated
NOTE: thanks to Ultrapico for freely distributing Expresso (http://www.ultrapico.com/Expresso.htm) |
Matches |
C:\Program files\Ultrapico\Expresso\ | C:\Program files\Ultrapico\Expresso\Expresso.exe | \\myserver\myfolder | \\myserver\myfolder\ | \\myserver\.myfolder | \\myserver\myfolder\myfile.txt | ..\here\..\here\..\here\.\this.txt |
Non-Matches |
C:\Program files\Ultrapico\Expresso.\ | \\myserver\myfolder. | do_not_end_names_with_SPACE |
Author |
Rating:
Not yet rated.
flyontheweb
|
Source |
|
Your Rating |
|