writing this regualr expression

I have 3 .cs files contained in folder1, folder2 & folder3.

however, i only want to upload .cs file which is contained in folder1.

How can I write an expression that does this.

thanks

IMHO there is no way to write a single rule for this. I would write a a RegExp to skip .cs files, upload folder2 & folder3, then deactivate the rule, and upload folder1.