I need a Regex in a C# program.
I\'ve to capture a name of a file with a specific structure.
I used the \\w cha
\\w
Don't shoot me down for this, but if you're just trying to match a filename, then why not go the other way and use excluded characters?
[^<>:"/\|?*]