Regular Expressions 101

Community Patterns

123...7

Check Windows file name

1

Regular Expression
.NET 7.0 (C#)

@"
^[^\\/:*?\x22<>|]{0,255}$
"

Description

Verifying Windows file names (without suffix)

Submitted by anonymous - a year ago