I'm trying to write a regular expression to read all of the source code files that I have in some directory. These files will look like:
*.cs, *.xaml.cs,*.cpp, *.c, *.h
What I have so far is @"^.+\.(c(s)?(pp)?|h)" which I think is working. I would like to be able to also ignore certain file names like "AssemblyInfo.cs" and "assemblyInfo.cs".
How do I go about this?
View Complete Post