You just need to add a test to see if the Season number is less than 10, and if so, append a "0" to the front. I don't know the syntax off the top of my head, but the logic is something like;
IF( [season] < 10 then use "0+[season]", else use [season])
Or actually you may need to test if the length of the number is one or two characters, and add a leading "0" if it is one, because sometimes you may get a two digit number that is less than 10 (i.e. 07) and you don't want to add another zero then (007)!
Look up the MC rules Expression Language syntax here:
http://wiki.jriver.com/index.php/Media_Center_expression_languageYou may want to test if the program is a series before you apply these rules. You don't want strange stuff happening when naming movies. So you will need nested IF statements.
Plus you will also need to test for the season and episode numbers being empty, and decide how you want to handle that. Normally if a program is an episode of a series, and neither the season or episode is know, a "--" is used instead of a number, as in;
Castle - S--E-- - MontrealThere are a couple of experts on the forum when it comes to the Expression Language. Hopefully they will pop in an help.