Community Patterns

Community Library Entry

1

Regular Expression
Created·2025-06-14 21:58
Updated·2025-06-17 12:39
Flavor·.NET 7.0 (C#)

@"
^((\.{2}\\)+|(\.?\\)?).+[^:\r\n]$
"
gm
Open regex in editor

Description

This expression will match all valid relative path formatted strings (Windows Only)

Submitted by Futuremotiondev