Regular expression C# : check file name contening date and underscores : I need to check the syntax of a file name in order to treat it and excludes files that don't match the expression.

The file names must be like that :

(2 caracters letter or number)_(some caracters letters and numbers)__(YYYY-MM-dd-HH-SS-MM).csv

=> the last part is a date
=> in the middle we have two underscores

Can you help me for this request ? I'm not familiar at all with the regex and the few tests I made were not good.

Thanks a lot :)