Normal
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]
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]