User Tools

Site Tools


regex:file_path

This is an old revision of the document!


Regex - File Path

Windows

(\\\\([a-z|A-Z|0-9|-|_|\s]{2,15}){1}(\.[a-z|A-Z|0-9|-|_|\s]{1,64}){0,3}){1}(\\[^\\|\/|\:|\*|\?|"|\<|\>|\|]{1,64}){1,}(\\){0,}

NOTE: Disallows a few characters: \/:*?"<>|


^((?:[a-z]:\\$|(?:[a-z]:|\\\\[a-z]+\\(?!\.)[^\r\n$<>]+\$?)))((\\|(\\(?!\.)[^\r\n<>\\]+)*)(?<!\\)$) 

regex/file_path.1621505789.txt.gz · Last modified: 2021/05/20 10:16 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki