Reply to thread

Agree, Then regexp this should work:

[code]([/\\]((sample)|(extra)|(trailer))s?[/\\]?)[/code]

but it's better to change:

[code=C#]match = expr.Match(file.DirectoryName).Success;[/code]

to:

[code=C#]match = expr.Match(file.FullName).Success;[/code]


Top Bottom