Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-06-18 01:37
Flavor·PCRE2 (PHP)

/
^\/{2}([\w|\d|_][^\/\.]*\/)+(\w|\d|_)[^\/\.]*\.(\w|\d)+$
/
Open regex in editor

Description

Checks if string is format like a network path and file (like //networkdrive/folder/folder/file.csv)

Submitted by anonymous